Editar

Compartir a través de


CMBufferQueue.FromCallbacks Method

Definition

Overloads

FromCallbacks(Int32, CMBufferGetTime, CMBufferGetTime, CMBufferGetTime, CMBufferGetBool, CMBufferCompare, NSString)

Creates a custom CMBufferQueue that sorts and returns the objects in the queue based on the various callbacks you provide.

FromCallbacks(Int32, CMBufferGetTime, CMBufferGetTime, CMBufferGetTime, CMBufferGetBool, CMBufferCompare, NSString, CMBufferGetSize)

FromCallbacks(Int32, CMBufferGetTime, CMBufferGetTime, CMBufferGetTime, CMBufferGetBool, CMBufferCompare, NSString)

Creates a custom CMBufferQueue that sorts and returns the objects in the queue based on the various callbacks you provide.

public static CoreMedia.CMBufferQueue FromCallbacks (int count, CoreMedia.CMBufferGetTime getDecodeTimeStamp, CoreMedia.CMBufferGetTime getPresentationTimeStamp, CoreMedia.CMBufferGetTime getDuration, CoreMedia.CMBufferGetBool isDataReady, CoreMedia.CMBufferCompare compare, Foundation.NSString dataBecameReadyNotification);
static member FromCallbacks : int * CoreMedia.CMBufferGetTime * CoreMedia.CMBufferGetTime * CoreMedia.CMBufferGetTime * CoreMedia.CMBufferGetBool * CoreMedia.CMBufferCompare * Foundation.NSString -> CoreMedia.CMBufferQueue

Parameters

count
Int32

Number of items in the queue.

getDecodeTimeStamp
CMBufferGetTime
getPresentationTimeStamp
CMBufferGetTime
getDuration
CMBufferGetTime
isDataReady
CMBufferGetBool
compare
CMBufferCompare
dataBecameReadyNotification
NSString

Returns

Applies to

FromCallbacks(Int32, CMBufferGetTime, CMBufferGetTime, CMBufferGetTime, CMBufferGetBool, CMBufferCompare, NSString, CMBufferGetSize)

public static CoreMedia.CMBufferQueue FromCallbacks (int count, CoreMedia.CMBufferGetTime getDecodeTimeStamp, CoreMedia.CMBufferGetTime getPresentationTimeStamp, CoreMedia.CMBufferGetTime getDuration, CoreMedia.CMBufferGetBool isDataReady, CoreMedia.CMBufferCompare compare, Foundation.NSString dataBecameReadyNotification, CoreMedia.CMBufferGetSize getTotalSize);
static member FromCallbacks : int * CoreMedia.CMBufferGetTime * CoreMedia.CMBufferGetTime * CoreMedia.CMBufferGetTime * CoreMedia.CMBufferGetBool * CoreMedia.CMBufferCompare * Foundation.NSString * CoreMedia.CMBufferGetSize -> CoreMedia.CMBufferQueue

Parameters

count
Int32
getDecodeTimeStamp
CMBufferGetTime
getPresentationTimeStamp
CMBufferGetTime
getDuration
CMBufferGetTime
isDataReady
CMBufferGetBool
compare
CMBufferCompare
dataBecameReadyNotification
NSString
getTotalSize
CMBufferGetSize

Returns

Applies to