Constructor
(export) new InitSegmentReference(uris, startByte, endBytenullable)
Creates an InitSegmentReference, which provides the location to an
initialization segment.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
uris |
function(): !Array.<string> | A function that creates the URIs of the resource containing the segment. | |
startByte |
number | The offset from the start of the resource to the start of the segment. | |
endByte |
number |
<nullable> |
The offset from the start of the resource to the end of the segment, inclusive. A value of null indicates that the segment extends to the end of the resource. |
- Source:
Members
getUris :function(): !Array.<string>
Type:
- function(): !Array.<string>
- Source:
Methods
(export) createUris() → (non-null) {Array.<string>}
Creates the URIs of the resource containing the segment.
- Source:
Returns:
- Type
- Array.<string>
(export) getEndByte() → (nullable) {number}
Returns the offset from the start of the resource to the end of the segment,
inclusive. A value of null indicates that the segment extends to the end of
the resource.
- Source:
Returns:
- Type
- number
(export) getStartByte() → {number}
Returns the offset from the start of the resource to the
start of the segment.
- Source:
Returns:
- Type
- number