CMAttachmentBearer.SetAttachment Method

Definition

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

public static void SetAttachment (this CoreMedia.ICMAttachmentBearer target, string key, ObjCRuntime.INativeObject value, CoreMedia.CMAttachmentMode attachmentMode);
static member SetAttachment : CoreMedia.ICMAttachmentBearer * string * ObjCRuntime.INativeObject * CoreMedia.CMAttachmentMode -> unit

Parameters

target
ICMAttachmentBearer

The object on which this method operates.

key
String

The string that identifies the attachment to set.

value
INativeObject

The object to attach.

attachmentMode
CMAttachmentMode

A value that tells whether the attachment should propagate or not.

Applies to