Interface ReadyStateChangeEvent
-
- All Implemented Interfaces:
-
com.theoplayer.android.api.event.Event
,com.theoplayer.android.api.event.player.PlayerEvent
public interface ReadyStateChangeEvent implements PlayerEvent<E>
Fired when READYSTATECHANGE occurs for the Player.
-
-
Method Summary
Modifier and Type Method Description abstract ReadyState
getReadyState()
The new ReadyState at which the player is. abstract double
getCurrentTime()
The time at which the ReadyState changed. -
-
Method Detail
-
getReadyState
@NonNull() abstract ReadyState getReadyState()
The new ReadyState at which the player is.
Default: HAVE_NOTHING
- Returns:
The ReadyState. (NonNull)
-
getCurrentTime
abstract double getCurrentTime()
The time at which the ReadyState changed.
- Returns:
The time at which the ReadyState changed, in seconds.
-
-
-
-