---
title: contentType
framework: coremedia
role: symbol
role_heading: Instance Property
path: coremedia/cmreadysamplebuffer/contenttype
---

# contentType

Type of the content carried by this sample buffer

## Declaration

```swift
var contentType: CMSampleBuffer.ContentType { get }
```

## Discussion

Discussion The content type of the sample buffer can not be changed by assigning a different content, even if content is Dynamic.
