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

#include <progress_event.h>

Inheritance diagram for shaka::js::events::ProgressEvent:
shaka::js::events::Event shaka::BackingObject shaka::memory::Traceable

Public Member Functions

 ProgressEvent (EventType, bool, double, double)
 
- Public Member Functions inherited from shaka::js::events::Event
 Event (EventType type)
 
void Trace (memory::HeapTracer *tracer) const override
 
bool IsShortLived () const override
 
bool is_stopped () const
 
bool is_immediate_stopped () const
 
void PreventDefault ()
 
void StopImmediatePropagation ()
 
void StopPropagation ()
 
- 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 ()
 

Static Public Member Functions

static ProgressEventCreate (const std::string &type)
 
- Static Public Member Functions inherited from shaka::js::events::Event
static EventCreate (const std::string &type)
 
- Static Public Member Functions inherited from shaka::BackingObject
static void * operator new[] (size_t size)=delete
 
static void operator delete[] (void *)=delete
 

Public Attributes

const bool length_computable
 
const double loaded
 
const double total
 
- Public Attributes inherited from shaka::js::events::Event
const bool bubbles = false
 
const bool cancelable = false
 
const bool is_trusted = false
 
const std::string type
 
const double time_stamp
 
Member< EventTargetcurrent_target
 
Member< EventTargettarget
 
int event_phase = NONE
 
bool default_prevented = false
 

Additional Inherited Members

- Public Types inherited from shaka::js::events::Event
enum  EventPhase { NONE = 0, CAPTURING_PHASE = 1, AT_TARGET = 2, BUBBLING_PHASE = 3 }
 
- 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::js::events::Event
 Event (const std::string &type)
 
- Protected Member Functions inherited from shaka::BackingObject
 ~BackingObject () override
 

Detailed Description

Definition at line 27 of file progress_event.h.

Constructor & Destructor Documentation

§ ProgressEvent()

shaka::js::events::ProgressEvent::ProgressEvent ( EventType  type,
bool  length_computable,
double  loaded,
double  total 
)

Definition at line 21 of file progress_event.cc.

Member Function Documentation

§ Create()

static ProgressEvent* shaka::js::events::ProgressEvent::Create ( const std::string &  type)
inlinestatic

Definition at line 33 of file progress_event.h.

Member Data Documentation

§ length_computable

const bool shaka::js::events::ProgressEvent::length_computable

Definition at line 37 of file progress_event.h.

§ loaded

const double shaka::js::events::ProgressEvent::loaded

Definition at line 38 of file progress_event.h.

§ total

const double shaka::js::events::ProgressEvent::total

Definition at line 39 of file progress_event.h.


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