Instance Method

cancelContentAuthorizationRequest

Cancels the currently outstanding content authorization request.

Declaration

- (void)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 AVContentAuthorizationCancelled.

This method does not block.

See Also

Managing Authorization

- requestContentAuthorizationAsynchronouslyWithTimeoutInterval:completionHandler:

Presents the user the opportunity to authorize the content for playback.

contentAuthorizationRequestStatus

The status of the most recent content authorization request.

AVContentAuthorizationStatus

A value representing the status of a content authorization request.

authorizationRequiredForPlayback

A Boolean value that indicates whether authorization is required to play the content.

applicationAuthorizedForPlayback

A Boolean value that indicates whether the application can be used to play the content.

contentAuthorizedForPlayback

A Boolean value that indicates whether the content has been authorized by the user.