편집

다음을 통해 공유


CMAttachmentBearer Class

Definition

Static and extension methods for objects that can bear attachments.

public static class CMAttachmentBearer
type CMAttachmentBearer = class
Inheritance
CMAttachmentBearer

Methods

GetAttachment<T>(ICMAttachmentBearer, CMSampleBufferAttachmentKey, CMAttachmentMode)
GetAttachment<T>(ICMAttachmentBearer, String, CMAttachmentMode)

Returns the attachment that is identifed by key and writes the attachment propagation mode to attachmentModeOut.

GetAttachments(ICMAttachmentBearer, CMAttachmentMode)

Returns an array of all the bearer's attachments and the attachment propagation mode to attachmentMode.

GetAttachments<TKey,TValue>(ICMAttachmentBearer, CMAttachmentMode)
PropagateAttachments(ICMAttachmentBearer, ICMAttachmentBearer)

Propagates the attachments that belong to source and are allowed to propagate to destination.

RemoveAllAttachments(ICMAttachmentBearer)

Removes all of target's attachment.'

RemoveAttachment(ICMAttachmentBearer, String)

Removes the attachment that is identifed by key.

SetAttachment(ICMAttachmentBearer, String, INativeObject, CMAttachmentMode)

Attaches value to the bearer with the specified key and attachmentMode.

SetAttachments(ICMAttachmentBearer, NSDictionary, CMAttachmentMode)

Attaches theAttachments to the bearer with the specified attachmentMode.

Applies to