Instance Property

authorizationRequiredForPlayback

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

Declaration

@property(nonatomic, readonly, getter=isAuthorizationRequiredForPlayback) BOOL authorizationRequiredForPlayback;

Discussion

This property reports whether authorization is required for the item’s content to be played. If it does not require authorization, then none of the other authorization-related methods or properties apply (though they will return sensible values where possible).

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.

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.