Constructor
new V5StorageCell()
- Implements:
- Source:
Methods
addManifests(manifestsnon-null) → {Promise.<!Array.<number>>}
Add a group of manifests. Will return a promise that resolves with a list
of keys for each manifest. If one manifest fails to be added, all manifests
should fail to be added.
Parameters:
Name | Type | Description |
---|---|---|
manifests |
Array.<shaka.extern.ManifestDB> |
- Implements:
- Source:
Returns:
keys
- Type
- Promise.<!Array.<number>>
addSegments(segmentsnon-null) → {Promise.<!Array.<number>>}
Add a group of segments. Will return a promise that resolves with a list
of keys for each segment. If one segment fails to be added, all segments
should fail to be added.
Parameters:
Name | Type | Description |
---|---|---|
segments |
Array.<shaka.extern.SegmentDataDB> |
- Implements:
- Source:
Returns:
- Type
- Promise.<!Array.<number>>
convertManifest()
hasFixedKeySpace() → {boolean}
Check if the cell can support new keys. If a cell has a fixed key space,
then all add-operations will fail as no new keys can be added. All
remove-operations and update-operations should still work.
- Implements:
- Source:
Returns:
- Type
- boolean