Contents

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 -> Data

Parameters

  • appIdentifier:

    An opaque identifier for the app.

  • options:

    Additional data necessary to generate the server playback context. Pass nil to indicate no additional options.

    See Avcontentkeysessionserverplaybackcontextoption for supported options.

  • handler:

    The completion handler callback.

See Also

Invalidating content keys