invalidatePersistableContentKey(_:options:completionHandler:)
Invalidates the persistable content key and creates a secure server playback context (SPC) to verify the outcome of an invalidation request.
Declaration
func invalidatePersistableContentKey(_ persistableContentKeyData: Data, options: [AVContentKeySessionServerPlaybackContextOption : Any]? = nil, completionHandler handler: @escaping @Sendable (Data?, (any Error)?) -> Void)func invalidatePersistableContentKey(_ persistableContentKeyData: Data, options: [AVContentKeySessionServerPlaybackContextOption : Any]? = nil) async throws -> DataParameters
- persistableContentKeyData:
The persistable content key data to invalidate.
- options:
Additional options to use when generating the server playback context. Pass
nilto indicate no additional options. - handler:
The completion handler callback.