Instance Property

contentAuthorizedForPlayback

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

Declaration

@property(nonatomic, readonly, getter=isContentAuthorizedForPlayback) BOOL contentAuthorizedForPlayback;

Discussion

This property reports whether the user has provided the necessary credentials to the system in order for the content to be decrypted for playback.

Content authorization is independent of application authorization (see applicationAuthorizedForPlayback) and that both must be granted in order for an application to be allowed to play protected content.

This property is not key-value observable.

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.

- cancelContentAuthorizationRequest

Cancels the currently outstanding content authorization request.