Contents

setDelegate(_:queue:)

Assigns a delegate to receive real-time timecode updates and specifies a queue for callbacks.

Declaration

func setDelegate(_ delegate: (any AVCaptureTimecodeGeneratorDelegate)?, queue callbackQueue: dispatch_queue_t?)

Parameters

Discussion

Use this method to configure a delegate that handles timecode updates. The specified queue ensures thread-safe invocation of delegate methods.

See Also

Configuring the generator