init(keySystem:)
Creates a content key session to manage a collection of content decryption keys.
Declaration
convenience init(keySystem: AVContentKeySystem)Parameters
- keySystem:
A valid key system used to retrieve keys.
Return Value
Returns a new AVContentKeySession instance.
Discussion
The AVContentKeySession instance returned is capable of managing a collection of content decryption keys that correspond to the input key system. An invalidArgumentException is raised when the value of keySystem is unsupported.