Function

SecTransformExecuteAsync(_:_:_:)

Executes transform or transform group asynchronously.

Declaration

func SecTransformExecuteAsync(_ transformRef: SecTransform, _ deliveryQueue: DispatchQueue, _ deliveryBlock: @escaping SecMessageBlock)

Parameters

transformRef

The transform to execute.

deliveryQueue

A dispatch queue on which to deliver the results of this transform.

deliveryBlock

A SecMessageBlock to asynchronously receive the results of the transform.

Discussion

SecTransformExecuteAsync works just like the SecTransformExecute API except that it returns results to the deliveryBlock. There may be multple results depending on the transform. The block knows that the processing is complete when the isFinal parameter is set to true. If an error occurs the block's error parameter is set and the isFinal parameter will be set to true.

See Also

Execution

func SecTransformNoData() -> CFTypeRef

Returns an object from inside a ProcessData override that says that although no data is being returned the transform is still active and awaiting data.

typealias SecMessageBlock

A block that delivers messages during asynchronous operations.