Share via


CMAttachmentBearer.GetAttachment Metodo

Definizione

Overload

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

Restituisce l'allegato che è identifed da key e scrive la modalità di propagazione degli allegati in attachmentModeOut.

GetAttachment<T>(ICMAttachmentBearer, CMSampleBufferAttachmentKey, CMAttachmentMode)

public static T GetAttachment<T> (this CoreMedia.ICMAttachmentBearer target, CoreMedia.CMSampleBufferAttachmentKey key, out CoreMedia.CMAttachmentMode attachmentModeOut) where T : class, ObjCRuntime.INativeObject;
static member GetAttachment : CoreMedia.ICMAttachmentBearer * CoreMedia.CMSampleBufferAttachmentKey *  -> 'T (requires 'T : null and 'T :> ObjCRuntime.INativeObject)

Parametri di tipo

T

Parametri

attachmentModeOut
CMAttachmentMode

Restituisce

T

Si applica a

GetAttachment<T>(ICMAttachmentBearer, String, CMAttachmentMode)

Restituisce l'allegato che è identifed da key e scrive la modalità di propagazione degli allegati in attachmentModeOut.

public static T GetAttachment<T> (this CoreMedia.ICMAttachmentBearer target, string key, out CoreMedia.CMAttachmentMode attachmentModeOut) where T : class, ObjCRuntime.INativeObject;
static member GetAttachment : CoreMedia.ICMAttachmentBearer * string *  -> 'T (requires 'T : null and 'T :> ObjCRuntime.INativeObject)

Parametri di tipo

T

Tipo di allegato da ottenere.

Parametri

target
ICMAttachmentBearer

Oggetto su cui funziona questo metodo.

key
String

Stringa che identifica l'allegato da restituire.

attachmentModeOut
CMAttachmentMode

Parametro out che riceve un valore che indica se l'allegato deve propagarsi o meno.

Restituisce

T

Allegato specificato.

Si applica a