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

#import <stats_objc.h>

Inheritance diagram for ShakaTrackChoice:

Instance Methods

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

Protected Attributes

shaka::TrackChoice value
 

Properties

double timestamp
 
double id
 
NSString * type
 
BOOL fromAdaptation
 
NSNumber * bandwidth
 

Detailed Description

Holds info about a track selection choice that was made.

Definition at line 31 of file stats_objc.h.

Method Documentation

§ initWithCpp:()

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

§ toCpp()

- (const TrackChoice& ShakaTrackChoice()):
implementation

Member Data Documentation

§ value

- (TrackChoice ShakaTrackChoice()):
protected

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

Property Documentation

§ bandwidth

- (NSNumber *) bandwidth
readatomicassign

The bandwidth of the chosen track (null for text).

Definition at line 52 of file stats_objc.h.

§ fromAdaptation

- (BOOL) fromAdaptation
readatomicassign

True if the choice was made by AbrManager for adaptation; false if it was made by the application through selectTrack.

Definition at line 49 of file stats_objc.h.

§ id

- (double) id
readatomicassign

The id of the track that was chosen.

Definition at line 40 of file stats_objc.h.

§ timestamp

- (double) timestamp
readatomicassign

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

Definition at line 37 of file stats_objc.h.

§ type

- (NSString *) type
readatomicassign

The type of track chosen ('variant' or 'text').

Definition at line 43 of file stats_objc.h.


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