Shaka Player Embedded
Public Member Functions | Public Attributes | List of all members
shaka::js::eme::MediaKeySystemAccess Class Reference

#include <media_key_system_access.h>

Inheritance diagram for shaka::js::eme::MediaKeySystemAccess:
shaka::BackingObject shaka::memory::Traceable

Public Member Functions

 MediaKeySystemAccess (const std::string &key_system, MediaKeySystemConfiguration config, std::shared_ptr< ImplementationFactory > factory)
 
MediaKeySystemConfiguration GetConfiguration () const
 
Promise CreateMediaKeys ()
 
- Public Member Functions inherited from shaka::BackingObject
 BackingObject ()
 
void Trace (memory::HeapTracer *tracer) const override
 
bool IsRootedAlive () const override
 
std::string name () const
 
virtual BackingObjectFactoryBasefactory () const =0
 
bool DerivedFrom (const std::string &base)
 
ReturnVal< JsValue > JsThis () const
 
void SetJsThis (Handle< JsObject > this_)
 
- Public Member Functions inherited from shaka::memory::Traceable
virtual ~Traceable ()
 
virtual bool IsShortLived () const
 

Public Attributes

const std::string key_system
 

Additional Inherited Members

- Static Public Member Functions inherited from shaka::BackingObject
static void * operator new[] (size_t size)=delete
 
static void operator delete[] (void *)=delete
 
- Static Public Attributes inherited from shaka::BackingObject
static constexpr const size_t kInternalFieldCount = 2
 
- Static Public Attributes inherited from shaka::memory::Traceable
static constexpr const uint64_t kShortLiveDurationMs = 5000
 
- Protected Member Functions inherited from shaka::BackingObject
 ~BackingObject () override
 

Detailed Description

Definition at line 31 of file media_key_system_access.h.

Constructor & Destructor Documentation

§ MediaKeySystemAccess()

shaka::js::eme::MediaKeySystemAccess::MediaKeySystemAccess ( const std::string &  key_system,
MediaKeySystemConfiguration  config,
std::shared_ptr< ImplementationFactory factory 
)

Definition at line 26 of file media_key_system_access.cc.

Member Function Documentation

§ CreateMediaKeys()

Promise shaka::js::eme::MediaKeySystemAccess::CreateMediaKeys ( )

Definition at line 39 of file media_key_system_access.cc.

§ GetConfiguration()

Doxygen_Skip MediaKeySystemConfiguration shaka::js::eme::MediaKeySystemAccess::GetConfiguration ( ) const

Definition at line 35 of file media_key_system_access.cc.

Member Data Documentation

§ key_system

const std::string shaka::js::eme::MediaKeySystemAccess::key_system

Definition at line 42 of file media_key_system_access.h.


The documentation for this class was generated from the following files: