Interface SegmentNotFoundEvent
-
- All Implemented Interfaces:
-
com.theoplayer.android.api.event.Event,com.theoplayer.android.api.event.player.PlayerEvent
public interface SegmentNotFoundEvent implements PlayerEvent<E>
Fired when SEGMENTNOTFOUND occurs for the Player.
-
-
Method Summary
Modifier and Type Method Description abstract doublegetSegmentStartTime()The time at which the segment should start. abstract StringgetError()The error message to indicate why the segment was not found. abstract intgetRetryCount()The number of retries to fetch a given segment. -
-
Method Detail
-
getSegmentStartTime
abstract double getSegmentStartTime()
The time at which the segment should start.
- Returns:
The time at which the segment should start, in seconds.
-
getError
@NonNull() abstract String getError()
The error message to indicate why the segment was not found.
- Returns:
The error message. (NonNull)
-
getRetryCount
abstract int getRetryCount()
The number of retries to fetch a given segment.
- If this returns -1, the number or retries is unknown or unavailable.
- Returns:
The number of retries.
-
-
-
-