Methods
add(sessionsnon-null) → {Promise}
Adds the given sessions to the store.
Parameters:
Name | Type | Description |
---|---|---|
sessions |
Array.<shaka.extern.EmeSessionDB> |
- Source:
Returns:
- Type
- Promise
destroy() → {Promise}
Free all resources used by this cell. This won't affect the stored content.
- Source:
Returns:
- Type
- Promise
getAll() → {Promise.<!Array.<shaka.extern.EmeSessionDB>>}
Gets the currently stored sessions.
- Source:
Returns:
- Type
- Promise.<!Array.<shaka.extern.EmeSessionDB>>
remove(sessionIdsnon-null) → {Promise}
Removes the given session IDs from the store.
Parameters:
Name | Type | Description |
---|---|---|
sessionIds |
Array.<string> |
- Source:
Returns:
- Type
- Promise