setDelegate(_:queue:)
Sets the delegate and a dispatch queue on which the delegate will be called.
Declaration
func setDelegate(_ delegate: (any AVPlayerItemMetadataCollectorPushDelegate)?, queue delegateQueue: dispatch_queue_t?)Parameters
- delegate:
An object conforming to Avplayeritemmetadatacollectorpushdelegate protocol.
- delegateQueue:
A dispatch queue on which all delegate methods will be called.