createSession
external fun createSession(sessionType: MediaKeySessionType = definedExternally): MediaKeySession(source)
The createSession() method of the MediaKeys interface returns a new MediaKeySession object, which represents a context for message exchange with a content decryption module (CDM).