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

#import <offline_externs_objc.h>

Inheritance diagram for ShakaStoredContent:

Instance Methods

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

Protected Attributes

shaka::StoredContent value
 

Properties

NSString * offlineUri
 
NSString * originalManifestUri
 
double duration
 
double size
 
double expiration
 
NSDictionary< NSString *, NSString * > * appMetadata
 

Detailed Description

Contains a description of a piece of content that is stored offline.

Definition at line 31 of file offline_externs_objc.h.

Method Documentation

§ initWithCpp:()

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

§ toCpp()

- (const StoredContent& ShakaStoredContent()):
implementation

Member Data Documentation

§ value

- (StoredContent ShakaStoredContent()):
protected

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

Property Documentation

§ appMetadata

- (NSDictionary< NSString *, NSString * > *) appMetadata
readatomicassign

The metadata passed to store.

Definition at line 56 of file offline_externs_objc.h.

§ duration

- (double) duration
readatomicassign

The duration of the content, in seconds.

Definition at line 44 of file offline_externs_objc.h.

§ expiration

- (double) expiration
readatomicassign

The time that the encrypted license expires, in milliseconds. If the media is clear or the license never expires, this will equal Infinity.

Definition at line 53 of file offline_externs_objc.h.

§ offlineUri

- (NSString *) offlineUri
readatomicassign

An offline URI to access the content. This can be passed directly to Player. If the uri is null, it means that the content has not finished downloading and is not ready to play.

Definition at line 38 of file offline_externs_objc.h.

§ originalManifestUri

- (NSString *) originalManifestUri
readatomicassign

The original manifest URI of the content stored.

Definition at line 41 of file offline_externs_objc.h.

§ size

- (double) size
readatomicassign

The size of the content, in bytes.

Definition at line 47 of file offline_externs_objc.h.


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