Contents

cancelContentAuthorizationRequest()

Cancels the currently outstanding content authorization request.

Declaration

func cancelContentAuthorizationRequest()

Discussion

Calling this method while a content authorization request is pending will cause that request to be cancelled and its completion handler to be invoked with a status of AVContentAuthorizationStatus.cancelled.

This method does not block.

See Also

Managing playback authorization in macOS