---
title: contentType
framework: medialibrary
role: symbol
role_heading: Instance Property
path: medialibrary/mlmediaobject/contenttype
---

# contentType

The UTI associated with the media object.

## Declaration

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

## See Also

### Accessing Object Attributes

- [attributes](medialibrary/mlmediaobject/attributes.md)
- [mediaType](medialibrary/mlmediaobject/mediatype.md)
- [name](medialibrary/mlmediaobject/name.md)
- [url](medialibrary/mlmediaobject/url.md)
- [originalURL](medialibrary/mlmediaobject/originalurl.md)
- [fileSize](medialibrary/mlmediaobject/filesize.md)
- [modificationDate](medialibrary/mlmediaobject/modificationdate.md)
- [thumbnailURL](medialibrary/mlmediaobject/thumbnailurl.md)
- [artworkImage](medialibrary/mlmediaobject/artworkimage.md)
