setDelegate(_:queue:)
Sets the delegate and dispatch queue for the receiver.
Declaration
func setDelegate(_ delegate: (any AVPlayerItemOutputPullDelegate)?, queue delegateQueue: dispatch_queue_t?)Parameters
- delegate:
The delegate object for the receiver. You may specify
nilfor this parameter. - delegateQueue:
The dispatch queue on which to call delegate methods. If you specify
nilfor this parameter, the video output object calls the delegate on the dispatch queue for your app’s main thread.