Function createDataRangesAtom
- createDataRangesAtom(ctx): StateAtom<DataRanges, {
addSegment: ((dataRanges, mediaId, sourceId, segment) => boolean);
clear: ((dataRanges) => boolean);
deleteMediaId: ((dataRanges, mediaId) => boolean);
deleteSource: ((dataRanges, mediaId, sourceId) => boolean);
removeSegment: ((dataRanges, mediaId, sourceId, segment) => boolean);
}>
-
Returns StateAtom<DataRanges, {
addSegment: ((dataRanges, mediaId, sourceId, segment) => boolean);
clear: ((dataRanges) => boolean);
deleteMediaId: ((dataRanges, mediaId) => boolean);
deleteSource: ((dataRanges, mediaId, sourceId) => boolean);
removeSegment: ((dataRanges, mediaId, sourceId, segment) => boolean);
}>