-
- All Implemented Interfaces:
-
java.io.Serializable
,java.lang.Comparable
public enum TextTrackMode
The mode of the text track.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SHOWING
The track is showing.
- A showing track is displayed, exposes active cues and fires cue events.
HIDDEN
The track is hidden.
- A hidden track is not displayed but exposes active cues and fires cue events.
DISABLED
The track is disabled.
- A disabled track is not displayed and exposes no active cues, nor fires cue events.
-
Method Summary
Modifier and Type Method Description static TextTrackMode
from(String mode)
Creates a text track mode from a textual representation, when possible. String
toString()
static Array<TextTrackMode>
values()
static TextTrackMode
valueOf(String name)
String
getMode()
The textual representation of the text track mode. -
-
Method Detail
-
from
@Nullable() static TextTrackMode from(String mode)
Creates a text track mode from a textual representation, when possible.
- Parameters:
mode
- The textual representation of the text track mode.
-
values
static Array<TextTrackMode> values()
-
valueOf
static TextTrackMode valueOf(String name)
-
-
-
-