-
- All Implemented Interfaces:
-
java.lang.Iterable
public interface TimeRanges implements Iterable<TimeRange>
The TimeRanges API which can be used to get information regarding multiple periods in the playback.
-
-
Method Summary
-
-
Method Detail
-
getStart
abstract double getStart(int index)
The start time of a certain TimeRange.
- Parameters:
index
- The position of the TimeRange in the list of TimeRanges.
-
getEnd
abstract double getEnd(int index)
The end time of a certain TimeRange.
- Parameters:
index
- The position of the TimeRange in the list of TimeRanges.
-
length
abstract int length()
The total number of TimeRanges.
-
-
-
-