CMBufferQueueTriggerToken
A type alias for a trigger token.
Declaration
typealias CMBufferQueueTriggerToken = OpaquePointerDiscussion
The CMBufferQueueTriggerToken is returned from CMBufferQueueInstallTrigger(_:callback:refcon:condition:time:triggerTokenOut:), so you can remove it later if necessary. Triggers will automatically be removed when the queue is finalized. Note that if more than one module has access to a queue, it may be hard for an individual module to know when the queue is finalized since other modules may retain it. To address this concern, modules should remove their triggers before they themselves are finalized.
Special Considerations
A CMBufferQueueTrigger is not a Core Foundation object; you must not CFRetain or CFRelease it.
See Also
Managing Triggers
CMBufferQueueInstallTriggerHandler(_:_:_:_:_:)CMBufferQueueInstallTriggerHandlerWithIntegerThreshold(_:_:_:_:_:)CMBufferQueueTriggerHandlerBuffer Trigger ConditionsCMBufferQueueTestTrigger(_:triggerToken:)CMBufferQueueInstallTrigger(_:callback:refcon:condition:time:triggerTokenOut:)CMBufferQueueInstallTriggerWithIntegerThreshold(_:callback:refcon:condition:threshold:triggerTokenOut:)CMBufferQueueTriggerCallbackCMBufferQueueTriggerCondition