-
- All Implemented Interfaces:
-
com.theoplayer.android.api.event.Event
,com.theoplayer.android.api.event.player.PlayerEvent
public interface WaitingEvent implements PlayerEvent<WaitingEvent>
Fired when WAITING occurs for the Player.
- Playback has stopped because the next frame is not available, but the user agent expects that frame to become available in due course.
- ReadyState is equal to or less than HAVE_CURRENT_DATA, and paused is false.
-
-
Method Summary
Modifier and Type Method Description abstract String
getCurrentTime()
The time at which the player is waiting. -
-
Method Detail
-
getCurrentTime
@NonNull() abstract String getCurrentTime()
The time at which the player is waiting.
- Returns an empty string if the time is unknown.
-
-
-
-