propagated
TypeScriptget propagated(): Record<string, unknown>Swift declarationvar propagated: [String : Any] { get }Dictionary of propagated attachments.
struct · iOS 13.0+ · SDK 27.1
struct CMAttachmentBearerAttachmentsget propagated(): Record<string, unknown>Swift declarationvar propagated: [String : Any] { get }Dictionary of propagated attachments.
get nonPropagated(): Record<string, unknown>Swift declarationvar nonPropagated: [String : Any] { get }Dictionary of non propagated attachments.
merge(attachments: Record<string, unknown>, mode: CMAttachmentBearerAttachments_Mode): voidSwift declarationfunc merge(_ attachments: [String : Any], mode: CMAttachmentBearerAttachments.Mode)Sets a set of attachments for a `CMAttachmentBearerProtocol` object. `attachments.merge(_:mode:)` is a convenience call that in turn calls `attachments[key] = mode(value)` for each key and value in the given dictionary - Parameters: - attachments: Attachments to attach and their keys. - mode: The mode of the attachments.
removeAll(): voidSwift declarationfunc removeAll()Removes all attachments of a `CMAttachmentBearerProtocol` object.
subscript(key: string): (CMAttachmentBearerAttachments_Value) | nullSwift declarationsubscript(key: String) -> CMAttachmentBearerAttachments.Value? { get set }Accesses the attachment associated with the given key for reading and writing. You can attach any object to a `CMAttachmentBearerProtocol` object to store additional information. If the key doesn't exist, the attachment will be added. If the key does exist, the existing attachment will be replaced. If you assign `nil` as the value for the given key, the attachment bearer removes that key and its associated value. - Parameter key: Key identifying the desired attachment.
subscript92196(key: CMSampleBuffer_AttachmentKey): (CMAttachmentBearerAttachments_Value) | nullSwift declarationsubscript(key: CMSampleBuffer.AttachmentKey) -> CMAttachmentBearerAttachments.Value? { get set }No declarations were skipped in this snapshot.