---
title: CMAttachmentMode
framework: coremedia
role: symbol
role_heading: Type Alias
path: coremedia/cmattachmentmode
---

# CMAttachmentMode

The mode to use when propagating attachments.

## Declaration

```swift
typealias CMAttachmentMode = UInt32
```

## Discussion

Discussion Set these attributes when adding attachments to a CMAttachmentBearer object.

## Topics

### Modes

- [kCMAttachmentMode_ShouldNotPropagate](coremedia/kcmattachmentmode_shouldnotpropagate.md)
- [kCMAttachmentMode_ShouldPropagate](coremedia/kcmattachmentmode_shouldpropagate.md)

## See Also

### Data Types

- [CMAttachmentBearerProtocol](coremedia/cmattachmentbearerprotocol.md)
- [CMAttachmentBearer](coremedia/cmattachmentbearer.md)
