One Logo Pool Ball
CoreMedia · IOS API REFERENCE

CMBufferQueue.Handlers.Builder

struct · iOS 13.0+ · SDK 27.1

struct Builder

Builder helper. This builder let you create new handlers from an existing set of handlers: ``` let handlers = CMBufferQueue.Handlers.unsortedSampleBuffers.withHandlers { $0.compare { lhs, rhs in let lhs = lhs as! CMSampleBuffer let rhs = rhs as! CMSampleBuffer if lhs.duration == rhs.duration { return .compareEqualTo } else if lhs.duration < rhs.duration { return .compareLessThan } else { return .compareGreaterThan } } } ```

Members (2)

get · iOS 13.0+

dataBecameReadyNotification

TypeScript
get dataBecameReadyNotification(): (string) | null
Swift declaration
var dataBecameReadyNotification: String?
set · iOS 13.0+

dataBecameReadyNotification

TypeScript
set dataBecameReadyNotification(value: (string) | null)
Swift declaration
var dataBecameReadyNotification: String?

Skipped declarations

6 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

CMBufferQueue.Handlers.Builder.getDecodeTimeStamp(_:)

callback cannot propagate synchronous failure

CMBufferQueue.Handlers.Builder.getPresentationTimeStamp(_:)

callback cannot propagate synchronous failure

CMBufferQueue.Handlers.Builder.getDuration(_:)

callback cannot propagate synchronous failure

CMBufferQueue.Handlers.Builder.isDataReady(_:)

callback cannot propagate synchronous failure

CMBufferQueue.Handlers.Builder.compare(_:)

callback cannot propagate synchronous failure

CMBufferQueue.Handlers.Builder.getSize(_:)

callback cannot propagate synchronous failure

All CoreMedia types →