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:
getSegment_(id, urinon-null) → {shaka.extern.IAbortableOperation.<shaka.extern.Response>}
Parameters:
Name | Type | Description |
---|---|---|
id |
number | |
uri |
shaka.offline.OfflineUri |
- Source:
Returns:
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: