API documentation  2.0rc1
Public Member Functions | List of all members
client::MSMediaKeys Class Reference

#include <clientlib.h>

Inherits client::Object.

Public Member Functions

Stringget_keySystem ()
 
MSMediaKeySessioncreateSession (const String &type, Uint8Array *initData)
 
MSMediaKeySessioncreateSession (const String &type, Uint8Array *initData, Uint8Array *cdmData)
 
MSMediaKeysget_prototype ()
 
void set_prototype (MSMediaKeys *)
 
 MSMediaKeys (const String &keySystem)
 
- Public Member Functions inherited from client::Object
 Object ()
 
template<typename T >
valueOf ()
 
 operator double () const
 
Objectoperator[] (const client::String &name) const
 
void set_ (const client::String &name, Object *v)
 
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type>
void set_ (const client::String &name, T v)
 
bool hasOwnProperty (const client::String &name)
 

Constructor & Destructor Documentation

◆ MSMediaKeys()

client::MSMediaKeys::MSMediaKeys ( const String keySystem)

Member Function Documentation

◆ createSession() [1/2]

MSMediaKeySession* client::MSMediaKeys::createSession ( const String type,
Uint8Array initData 
)

◆ createSession() [2/2]

MSMediaKeySession* client::MSMediaKeys::createSession ( const String type,
Uint8Array initData,
Uint8Array cdmData 
)

◆ get_keySystem()

String* client::MSMediaKeys::get_keySystem ( )

◆ get_prototype()

MSMediaKeys* client::MSMediaKeys::get_prototype ( )

◆ set_prototype()

void client::MSMediaKeys::set_prototype ( MSMediaKeys )