setDelegate(_:queue:)
Sets a provider delegate, specifying an optional queue on which to execute delegate methods.
Declaration
func setDelegate(_ delegate: (any CXProviderDelegate)?, queue: dispatch_queue_t?)Parameters
- delegate:
An object conforming to the
CXProviderDelegateprotocol. - queue:
The queue on which to execute delegate methods.
If
nil, delegate methods are performed on the main queue.