Contents

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