Shaka Player Embedded
Public Member Functions | List of all members
shaka::js::DrmInfo Struct Reference

#include <manifest.h>

Inheritance diagram for shaka::js::DrmInfo:
shaka::Struct shaka::GenericConverter shaka::memory::Traceable

Public Member Functions

 DECLARE_STRUCT_SPECIAL_METHODS_MOVE_ONLY (DrmInfo)
 
 ADD_DICT_FIELD (keySystem, std::string)
 
 ADD_DICT_FIELD (licenseServerUri, std::string)
 
 ADD_DICT_FIELD (distinctiveIdentifierRequired, bool)
 
 ADD_DICT_FIELD (persistentStateRequired, bool)
 
 ADD_DICT_FIELD (audioRobustness, std::string)
 
 ADD_DICT_FIELD (videoRobustness, std::string)
 
 ADD_DICT_FIELD (initData, std::vector< shaka::js::InitDataOverride >)
 
 ADD_DICT_FIELD (keyIds, std::vector< std::string >)
 
- Public Member Functions inherited from shaka::Struct
 Struct ()
 
 ~Struct () override
 
 Struct (const Struct &)
 
 Struct (Struct &&)
 
Structoperator= (const Struct &)
 
Structoperator= (Struct &&)
 
bool TryConvert (Handle< JsValue > value) override
 
ReturnVal< JsValue > ToJsValue () const override
 
void Trace (memory::HeapTracer *tracer) const override
 
- Public Member Functions inherited from shaka::GenericConverter
virtual ~GenericConverter ()
 
- Public Member Functions inherited from shaka::memory::Traceable
virtual ~Traceable ()
 
virtual bool IsRootedAlive () const
 
virtual bool IsShortLived () const
 

Additional Inherited Members

- Static Public Attributes inherited from shaka::memory::Traceable
static constexpr const uint64_t kShortLiveDurationMs = 5000
 
- Protected Member Functions inherited from shaka::Struct
template<typename Parent , typename Field >
Field CreateFieldConverter (const std::string &name, Field Parent::*field)
 

Detailed Description

Definition at line 39 of file manifest.h.

Member Function Documentation

§ ADD_DICT_FIELD() [1/8]

shaka::js::DrmInfo::ADD_DICT_FIELD ( keySystem  ,
std::string   
)

§ ADD_DICT_FIELD() [2/8]

shaka::js::DrmInfo::ADD_DICT_FIELD ( licenseServerUri  ,
std::string   
)

§ ADD_DICT_FIELD() [3/8]

shaka::js::DrmInfo::ADD_DICT_FIELD ( distinctiveIdentifierRequired  ,
bool   
)

§ ADD_DICT_FIELD() [4/8]

shaka::js::DrmInfo::ADD_DICT_FIELD ( persistentStateRequired  ,
bool   
)

§ ADD_DICT_FIELD() [5/8]

shaka::js::DrmInfo::ADD_DICT_FIELD ( audioRobustness  ,
std::string   
)

§ ADD_DICT_FIELD() [6/8]

shaka::js::DrmInfo::ADD_DICT_FIELD ( videoRobustness  ,
std::string   
)

§ ADD_DICT_FIELD() [7/8]

shaka::js::DrmInfo::ADD_DICT_FIELD ( initData  ,
std::vector< shaka::js::InitDataOverride  
)

§ ADD_DICT_FIELD() [8/8]

shaka::js::DrmInfo::ADD_DICT_FIELD ( keyIds  ,
std::vector< std::string >   
)

§ DECLARE_STRUCT_SPECIAL_METHODS_MOVE_ONLY()

shaka::js::DrmInfo::DECLARE_STRUCT_SPECIAL_METHODS_MOVE_ONLY ( DrmInfo  )

The documentation for this struct was generated from the following file: