Contents

contentAuthorizationRequestStatus

The status of the most recent content authorization request.

Declaration

var contentAuthorizationRequestStatus: AVContentAuthorizationStatus { get }

Discussion

This property reports the authorization status as determined by the most recent call to requestContentAuthorizationAsynchronously(withTimeoutInterval:completionHandler:).

The value will be AVContentAuthorizationStatus.unknown before the first call and between the time a request call is made and just prior to the completion handler being executed (thus it is safe to query this property from the completion handler).

This value is not key-value observable.

See Also

Managing playback authorization in macOS