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

#include <navigator.h>

Inheritance diagram for shaka::js::Navigator:
shaka::BackingObject shaka::memory::Traceable

Public Member Functions

 Navigator ()
 
Promise RequestMediaKeySystemAccess (std::string key_system, std::vector< eme::MediaKeySystemConfiguration > configs)
 
- 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 app_name = "Netscape"
 
const std::string app_code_name = "Mozilla"
 
const std::string app_version = "5.0"
 
const std::string platform = PLATFORM
 
const std::string product = "Gecko"
 
const std::string product_sub = "20030107"
 
const std::string vendor = "Shaka-Player-Embedded"
 
const std::string vendor_sub = SHAKA_VERSION_STR
 
const std::string user_agent = "Mozilla" "/" "5.0" " (" PLATFORM ") " "Shaka-Player-Embedded" "/" SHAKA_VERSION_STR
 

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 47 of file navigator.h.

Constructor & Destructor Documentation

§ Navigator()

shaka::js::Navigator::Navigator ( )

Definition at line 26 of file navigator.cc.

Member Function Documentation

§ RequestMediaKeySystemAccess()

Doxygen_Skip Promise shaka::js::Navigator::RequestMediaKeySystemAccess ( std::string  key_system,
std::vector< eme::MediaKeySystemConfiguration configs 
)

Definition at line 31 of file navigator.cc.

Member Data Documentation

§ app_code_name

const std::string shaka::js::Navigator::app_code_name = "Mozilla"

Definition at line 54 of file navigator.h.

§ app_name

const std::string shaka::js::Navigator::app_name = "Netscape"

Definition at line 53 of file navigator.h.

§ app_version

const std::string shaka::js::Navigator::app_version = "5.0"

Definition at line 55 of file navigator.h.

§ platform

const std::string shaka::js::Navigator::platform = PLATFORM

Definition at line 56 of file navigator.h.

§ product

const std::string shaka::js::Navigator::product = "Gecko"

Definition at line 57 of file navigator.h.

§ product_sub

const std::string shaka::js::Navigator::product_sub = "20030107"

Definition at line 58 of file navigator.h.

§ user_agent

const std::string shaka::js::Navigator::user_agent = "Mozilla" "/" "5.0" " (" PLATFORM ") " "Shaka-Player-Embedded" "/" SHAKA_VERSION_STR

Definition at line 61 of file navigator.h.

§ vendor

const std::string shaka::js::Navigator::vendor = "Shaka-Player-Embedded"

Definition at line 59 of file navigator.h.

§ vendor_sub

const std::string shaka::js::Navigator::vendor_sub = SHAKA_VERSION_STR

Definition at line 60 of file navigator.h.


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