A plugin that handles requests for offline content.
Parameters:
Name | Type | Description |
---|---|---|
uri |
string | |
request |
shakaExtern.Request |
- Source:
Returns:
- Type
- Promise.<shakaExtern.Response>
Methods
-
(private, static) onManifest_(uri) → (non-null) {Promise.<shakaExtern.Response>}
-
Parameters:
Name Type Description uri
string - Source:
Returns:
- Type
- Promise.<shakaExtern.Response>
-
(private, static) onSegment_(id, uri) → (non-null) {Promise.<shakaExtern.Response>}
-
Parameters:
Name Type Description id
number uri
string - Source:
Returns:
- Type
- Promise.<shakaExtern.Response>