setDelegate(_:queue:)
Sets the session’s delegate object and the dispatch queue on which to call the delegate’s methods.
Declaration
func setDelegate(_ delegate: (any AVContentKeySessionDelegate)?, queue delegateQueue: dispatch_queue_t?)Parameters
- delegate:
An object that conforms to the Avcontentkeysessiondelegate protocol.
- delegateQueue:
The dispatch queue on which the session calls the delegate object.