Obtains a persistable content key from a context.
- iOS 9.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 9.0+
The response returned from the key vendor as a result of a request generated from
Content Key Request Data(for App: content Identifier: options:)
Additional information necessary to obtain the key, or
nilif no additional information is required.
If an error occurs while obtaining the peristable content key, This parameter contains an instance of
NSErrordescribing the failure.
The persistable content key.
The data returned from this method may be used to immediately satisfy an
AVAsset, as well as any subsequent requests for the same key URL. The value of
content must be set to
AVStreaming when responding with data created with this method.