-
- All Implemented Interfaces:
-
java.io.Serializable
,java.lang.Comparable
public enum TextTrackReadyState
The ready state of a text track.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NONE
Indicates that the text track's cues have not been obtained.
LOADING
The text track is loading. Further cues might still be added to the track by the parser.
LOADED
The text track has been loaded with no fatal errors.
ERROR
An error occurred while obtaining the cues for the track. One or more of the cues are likely missing and will not be obtained.
-
Method Summary
Modifier and Type Method Description static TextTrackReadyState
from(int readyState)
Creates a text track ready state from a number, when possible. static Array<TextTrackReadyState>
values()
static TextTrackReadyState
valueOf(String name)
-
-
Method Detail
-
from
@Nullable() static TextTrackReadyState from(int readyState)
Creates a text track ready state from a number, when possible.
- Parameters:
readyState
- The number representation of the text track ready state.
-
values
static Array<TextTrackReadyState> values()
-
valueOf
static TextTrackReadyState valueOf(String name)
-
-
-
-