Shaka Player Embedded
Classes | Public Member Functions | List of all members
shaka::StoredContent Class Referencefinal

#include <offline_externs.h>

Classes

class  Impl
 

Public Member Functions

 StoredContent ()
 
 StoredContent (js::StoredContent &&internal)
 
 StoredContent (const StoredContent &)
 
 StoredContent (StoredContent &&)
 
 ~StoredContent ()
 
StoredContentoperator= (const StoredContent &)
 
StoredContentoperator= (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
 

Detailed Description

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

Definition at line 40 of file offline_externs.h.

Constructor & Destructor Documentation

§ StoredContent() [1/4]

shaka::StoredContent::StoredContent ( )

Definition at line 42 of file offline_externs.cc.

§ StoredContent() [2/4]

shaka::StoredContent::StoredContent ( js::StoredContent &&  internal)

Definition at line 43 of file offline_externs.cc.

§ StoredContent() [3/4]

shaka::StoredContent::StoredContent ( const StoredContent )
default

§ StoredContent() [4/4]

shaka::StoredContent::StoredContent ( StoredContent &&  )
default

§ ~StoredContent()

shaka::StoredContent::~StoredContent ( )

Definition at line 46 of file offline_externs.cc.

Member Function Documentation

§ app_metadata()

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.

§ duration()

double shaka::StoredContent::duration ( ) const

The duration of the content, in seconds.

Definition at line 59 of file offline_externs.cc.

§ expiration()

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.

§ GetInternal()

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.

§ offline_uri()

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.

§ operator=() [1/2]

StoredContent & shaka::StoredContent::operator= ( const StoredContent )
default

§ operator=() [2/2]

StoredContent & shaka::StoredContent::operator= ( StoredContent &&  )
default

§ original_manifest_uri()

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.

§ size()

double shaka::StoredContent::size ( ) const

The size of the content, in bytes.

Definition at line 63 of file offline_externs.cc.


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