invalidateAllPersistableContentKeys(forApp:options:completionHandler:)
Invalidates all of an app’s persistable content keys and creates a secure server playback context (SPC) to verify the outcome of an invalidation request.
Declaration
func invalidateAllPersistableContentKeys(forApp appIdentifier: Data, options: [AVContentKeySessionServerPlaybackContextOption : Any]? = nil, completionHandler handler: @escaping @Sendable (Data?, (any Error)?) -> Void)func invalidateAllPersistableContentKeys(forApp appIdentifier: Data, options: [AVContentKeySessionServerPlaybackContextOption : Any]? = nil) async throws -> DataParameters
- appIdentifier:
An opaque identifier for the app.
- options:
Additional data necessary to generate the server playback context. Pass
nilto indicate no additional options.See Avcontentkeysessionserverplaybackcontextoption for supported options.
- handler:
The completion handler callback.