Interface CanPlayEvent
-
- All Implemented Interfaces:
-
com.theoplayer.android.api.event.Event
,com.theoplayer.android.api.event.player.PlayerEvent
public interface CanPlayEvent implements PlayerEvent<E>
Fired when CANPLAY occurs for the Player.
- The player already has some data and can play.
- The player does not have sufficient future data to guarantee a smooth playthrough.
- With the current playback rate, until the end of the stream, the player might have to stop for further buffering of the media data.
-
-
Method Summary
Modifier and Type Method Description abstract double
getCurrentTime()
The current time at which the player can play. -
-
Method Detail
-
getCurrentTime
abstract double getCurrentTime()
The current time at which the player can play.
- Returns:
The current time at which the player can play, in seconds.
-
-
-
-