Interface WaitingEvent
-
- All Implemented Interfaces:
-
com.theoplayer.android.api.event.Event
,com.theoplayer.android.api.event.player.PlayerEvent
public interface WaitingEvent implements PlayerEvent<E>
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 double
getCurrentTime()
The time at which the player is waiting. -
-
Method Detail
-
getCurrentTime
abstract double getCurrentTime()
The time at which the player is waiting.
- Returns an empty string if the time is unknown.
- Returns:
The time at which the player is waiting, in seconds.
-
-
-
-