public class CanPlayEvent extends PlayerEvent<CanPlayEvent>
PlayerEventTypes.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.
Modifier and Type | Method and Description |
---|---|
double |
getCurrentTime()
The current time at which the player can play.
|