A class that aggregates information about the seekable range of a media stream.
Nested Class Summary
class | MediaLiveSeekableRange.Builder | Builder for MediaLiveSeekableRange . |
Inherited Constant Summary
Public Method Summary
boolean | |
long |
getEndTime()
Returns the end time, in milliseconds, of the seekable range (which ranges from
0 to the end of the duration), if available.
|
long |
getStartTime()
Returns the start time, in milliseconds, of the seekable range (which ranges
from 0 to the end time as returned by
getEndTime() ).
|
int |
hashCode()
|
boolean |
isLiveDone()
Returns the flag indicating whether the current live stream is done.
|
boolean |
isMovingWindow()
Returns
true if the current seekable range is a fixed-length
moving window or false if it is an expanding range.
|
void |
writeToParcel(Parcel out, int
flags)
|
Inherited Method Summary
Public Methods
public boolean equals (Object other)
public long getEndTime ()
Returns the end time, in milliseconds, of the seekable range (which ranges from 0 to the end of the duration), if available.
public long getStartTime ()
Returns the start time, in milliseconds, of the seekable range (which ranges from 0
to the end time as returned by
getEndTime()
).
public int hashCode ()
public boolean isLiveDone ()
Returns the flag indicating whether the current live stream is done. It's updated to
true
when live stream finishes. This is specifically for event-type live
stream, which might change to VOD when live stream finishes.
public boolean isMovingWindow ()
Returns true
if the current seekable range is a fixed-length moving
window or false
if it is an expanding range.