Shaka Player Embedded
|
#include <offline_externs.h>
Classes | |
class | Impl |
Public Member Functions | |
StoredContent () | |
StoredContent (js::StoredContent &&internal) | |
StoredContent (const StoredContent &) | |
StoredContent (StoredContent &&) | |
~StoredContent () | |
StoredContent & | operator= (const StoredContent &) |
StoredContent & | operator= (StoredContent &&) |
shaka::optional< std::string > | offline_uri () const |
const std::string & | original_manifest_uri () const |
double | duration () const |
double | size () const |
double | expiration () const |
const std::unordered_map< std::string, std::string > & | app_metadata () const |
js::StoredContent | GetInternal () const |
Contains a description of a piece of content that is stored offline.
Definition at line 40 of file offline_externs.h.
shaka::StoredContent::StoredContent | ( | ) |
Definition at line 42 of file offline_externs.cc.
shaka::StoredContent::StoredContent | ( | js::StoredContent && | internal | ) |
Definition at line 43 of file offline_externs.cc.
|
default |
|
default |
shaka::StoredContent::~StoredContent | ( | ) |
Definition at line 46 of file offline_externs.cc.
const std::unordered_map< std::string, std::string > & shaka::StoredContent::app_metadata | ( | ) | const |
The metadata passed to store.
Definition at line 71 of file offline_externs.cc.
double shaka::StoredContent::duration | ( | ) | const |
The duration of the content, in seconds.
Definition at line 59 of file offline_externs.cc.
double shaka::StoredContent::expiration | ( | ) | const |
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 67 of file offline_externs.cc.
js::StoredContent shaka::StoredContent::GetInternal | ( | ) | const |
INTERNAL USE ONLY: Get the internal representation of this object.
Definition at line 76 of file offline_externs.cc.
shaka::optional< std::string > shaka::StoredContent::offline_uri | ( | ) | const |
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 51 of file offline_externs.cc.
|
default |
|
default |
const std::string & shaka::StoredContent::original_manifest_uri | ( | ) | const |
The original manifest URI of the content stored.
Definition at line 55 of file offline_externs.cc.
double shaka::StoredContent::size | ( | ) | const |
The size of the content, in bytes.
Definition at line 63 of file offline_externs.cc.