---
title: formatDescription
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcaptureinput/port/formatdescription
---

# formatDescription

A description of the port format.

## Declaration

```swift
var formatDescription: CMFormatDescription? { get }
```

## Discussion

Discussion A format description object describes the format of the media the port currently provides. To observe changes to a port’s format, observe notifications of type formatDescriptionDidChangeNotification.

## See Also

### Inspecting an input port

- [isEnabled](avfoundation/avcaptureinput/port/isenabled.md)
- [mediaType](avfoundation/avcaptureinput/port/mediatype.md)
- [sourceDeviceType](avfoundation/avcaptureinput/port/sourcedevicetype.md)
- [sourceDevicePosition](avfoundation/avcaptureinput/port/sourcedeviceposition.md)
- [clock](avfoundation/avcaptureinput/port/clock.md)
