Enumeration

AVContentAuthorizationStatus

A value representing the status of a content authorization request.

Declaration

typedef enum AVContentAuthorizationStatus : NSInteger {
    ...
} AVContentAuthorizationStatus;

Overview

Even if authorization is completed by the user, there is no guarantee that the content will then be authorized. You should re-check whether the content is authorized before proceeding.

Topics

Content Authorization Statuses

AVContentAuthorizationUnknown

The content authorization content request hasn't completed.

AVContentAuthorizationCompleted

The last completed call to request content authorization completed.

AVContentAuthorizationCancelled

The last call to request content authorization was cancelled by the user.

AVContentAuthorizationTimedOut

The last call to request content authorization was cancelled because the timeout interval was reached.

AVContentAuthorizationBusy

The last call to request content authorization couldn't be completed because another asset is currently attempting authorization.

AVContentAuthorizationNotAvailable

The last call to request content authorization couldn't be completed because there was no known mechanism by which to attempt authorization.

AVContentAuthorizationNotPossible

The last call to request content authorization couldn't be completed in a non-recoverable way.

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.

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.

- cancelContentAuthorizationRequest

Cancels the currently outstanding content authorization request.