com.ooyala.android.offline.VideoCache Class Reference

A class that holds Cache instance that maintains an in-memory representation. More...

Static Public Member Functions

static Cache getInstance (Context context, String downloadContentDirectoryName)
 Creates a Cache instance. More...
 

Detailed Description

A class that holds Cache instance that maintains an in-memory representation.

Note, only one instance of SimpleCache is allowed for a given directory at a given time.

Member Function Documentation

static Cache com.ooyala.android.offline.VideoCache.getInstance ( Context  context,
String  downloadContentDirectoryName 
)
static

Creates a Cache instance.

Parameters
contextA Context.
downloadContentDirectoryNameThe name of directory where the content will be downloaded.