Class: shaka.offline.OfflineScheme

A plugin that handles requests for offline content.

Constructor

new OfflineScheme()

A plugin that handles requests for offline content.

Source:

Methods

getManifest_(uri) → {shaka.extern.IAbortableOperation.<shaka.extern.Response>}

Parameters:
Name Type Description
uri string
Source:
Returns:
Type
shaka.extern.IAbortableOperation.<shaka.extern.Response>

getSegment_(id, urinon-null) → {shaka.extern.IAbortableOperation.<shaka.extern.Response>}

Parameters:
Name Type Description
id number
uri shaka.offline.OfflineUri
Source:
Returns:
Type
shaka.extern.IAbortableOperation.<shaka.extern.Response>

plugin(uri, request, requestType, progressUpdated) → {shaka.extern.IAbortableOperation.<shaka.extern.Response>}

Parameters:
Name Type Description
uri string
request shaka.extern.Request
requestType shaka.net.NetworkingEngine.RequestType
progressUpdated shaka.extern.ProgressUpdated Called when a progress event happened.
Source:
Returns:
Type
shaka.extern.IAbortableOperation.<shaka.extern.Response>