Shaka Player Embedded
Instance Methods | Protected Attributes | Properties | List of all members
ShakaStateChange Class Reference

#import <stats_objc.h>

Inheritance diagram for ShakaStateChange:

Instance Methods

(instancetype) - initWithCpp: [implementation]
 
(const shaka::StateChange &) - toCpp [implementation]
 

Protected Attributes

shaka::StateChange value
 

Properties

double timestamp
 
NSString * state
 
double duration
 

Detailed Description

Holds info about a state change that occurred.

Definition at line 62 of file stats_objc.h.

Method Documentation

§ initWithCpp:()

- (instancetype) initWithCpp: (const shaka::StateChange &)  obj
implementation

§ toCpp()

- (const StateChange& ShakaStateChange()):
implementation

Member Data Documentation

§ value

- (StateChange ShakaStateChange()):
protected

Definition at line 44 of file stats+Internal.h.

Property Documentation

§ duration

- (double) duration
readatomicassign

The number of seconds the player was in this state. If this is the last entry in the list, the player is still in this state, so the duration will continue to increase.

Definition at line 81 of file stats_objc.h.

§ state

- (NSString *) state
readatomicassign

The state the player entered. This could be 'buffering', 'playing', 'paused', or 'ended'.

Definition at line 74 of file stats_objc.h.

§ timestamp

- (double) timestamp
readatomicassign

The timestamp the state was entered, in seconds since 1970 (i.e. Date.now() / 1000).

Definition at line 68 of file stats_objc.h.


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