createSession method

MediaKeySession createSession([
  1. MediaKeySessionType sessionType
])

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).

Implementation

external MediaKeySession createSession([MediaKeySessionType sessionType]);