-
- All Implemented Interfaces:
-
java.io.Serializable
,java.lang.Comparable
public enum ReadyState
The ready state of the player.
- See the HTML Media Specification for more information.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HAVE_NOTHING
The player has no information about the duration of its source.
HAVE_METADATA
The player has information about the duration of its source.
HAVE_CURRENT_DATA
The player has its current frame in its buffer.
HAVE_FUTURE_DATA
The player has enough data for immediate playback.
HAVE_ENOUGH_DATA
The player has enough data for continuous playback.
-
Method Summary
Modifier and Type Method Description static ReadyState
from(int readyState)
Creates a ready state from a numerical representation. static Array<ReadyState>
values()
static ReadyState
valueOf(String name)
-
-
Method Detail
-
from
@NonNull() static ReadyState from(int readyState)
Creates a ready state from a numerical representation.
Default: HAVE_NOTHING
- Parameters:
readyState
- The numerical representation of the ready state.
-
values
static Array<ReadyState> values()
-
valueOf
static ReadyState valueOf(String name)
-
-
-
-