The media cache API.

interface MediaCacheAPI {
    status: CacheStatus;
    tasks: CachingTaskList;
    addEventListener<TType>(type, listener): void;
    createTask(source, parameters): Promise<CachingTask>;
    removeEventListener<TType>(type, listener): void;
}

Hierarchy (view full)

Properties

status: CacheStatus

The current status of the cache.

List of caching tasks which control the caching of media.

Methods