contentKeySession(_:contentKeyRequest:didFailWithError:)
Tells the receiver that the content key request failed.
Declaration
optional func contentKeySession(_ session: AVContentKeySession, contentKeyRequest keyRequest: AVContentKeyRequest, didFailWithError err: any Error)Parameters
- session:
The content key session that initiated the content key request.
- keyRequest:
The content key request that failed.
- err:
An instance of Nserror that describes the failure that occurred.
See Also
Updating and retrying content key requests
contentKeySession(_:didProvide:forInitializationData:)contentKeySession(_:externalProtectionStatusDidChangeFor:)contentKeySession(_:didUpdatePersistableContentKey:forContentKeyIdentifier:)contentKeySession(_:shouldRetry:reason:)AVContentKeyRequest.RetryReasoncontentKeySessionContentProtectionSessionIdentifierDidChange(_:)contentKeySession(_:contentKeyRequestDidSucceed:)contentKeySessionDidGenerateExpiredSessionReport(_:)