---
title: contentType
framework: MediaExtension
role: symbol
role_heading: Instance Property
platforms: [macOS 14.0+]
path: mediaextension/mebytesource/contenttype
---

# contentType

The format of the byte source file.

## Declaration

```swift
var contentType: UTType? { get }
```

## See Also

### Inspecting a byte source

- [fileName](mediaextension/mebytesource/filename.md)
- [fileLength](mediaextension/mebytesource/filelength.md)
- [relatedFileNamesInSameDirectory](mediaextension/mebytesource/relatedfilenamesinsamedirectory.md)
