com.ooyala.android.item.OfflineVideo Class Reference

A class that holds an offline video. More...

Inheritance diagram for com.ooyala.android.item.OfflineVideo:
com.ooyala.android.item.UnbundledVideo

Public Member Functions

File getFolder ()
 
Cache getCache ()
 
Set< StreamgetStreams ()
 
List< OoyalaManagedAdSpotgetAds ()
 
ClosedCaptions getClosedCaptions ()
 
String getEmbedCode ()
 

Static Public Member Functions

static OfflineVideo getVideo (Context context, File folder, Cache cache, String embedCode)
 Create a DASH video object for offline playback. More...
 

Detailed Description

A class that holds an offline video.

Member Function Documentation

List<OoyalaManagedAdSpot> com.ooyala.android.item.UnbundledVideo.getAds ( )
inherited
Cache com.ooyala.android.item.OfflineVideo.getCache ( )
Returns
The Cache that holds offline video
ClosedCaptions com.ooyala.android.item.UnbundledVideo.getClosedCaptions ( )
inherited
String com.ooyala.android.item.UnbundledVideo.getEmbedCode ( )
inherited
File com.ooyala.android.item.OfflineVideo.getFolder ( )
Returns
The folder that holds offline video
Set<Stream> com.ooyala.android.item.UnbundledVideo.getStreams ( )
inherited
static OfflineVideo com.ooyala.android.item.OfflineVideo.getVideo ( Context  context,
File  folder,
Cache  cache,
String  embedCode 
)
static

Create a DASH video object for offline playback.

Parameters
contextThe context to retrieve the shared preference.
folderThe folder that holds offline video.
cacheThe Cache that holds offline video.
embedCodeThe current item embed code.
Returns
An OfflineVideo object on success, null otherwise.