contentKeySession(_:shouldRetry:reason:)
Provides the receiver with a content key request object to retry.
Declaration
optional func contentKeySession(_ session: AVContentKeySession, shouldRetry keyRequest: AVContentKeyRequest, reason retryReason: AVContentKeyRequest.RetryReason) -> BoolParameters
- session:
The content key session that is providing the content key request.
- keyRequest:
The key request to be retried.
- retryReason:
The reason for the retry request.
See Also
Updating and retrying content key requests
contentKeySession(_:didProvide:forInitializationData:)contentKeySession(_:externalProtectionStatusDidChangeFor:)contentKeySession(_:didUpdatePersistableContentKey:forContentKeyIdentifier:)AVContentKeyRequest.RetryReasoncontentKeySessionContentProtectionSessionIdentifierDidChange(_:)contentKeySession(_:contentKeyRequest:didFailWithError:)contentKeySession(_:contentKeyRequestDidSucceed:)contentKeySessionDidGenerateExpiredSessionReport(_:)