-
- All Implemented Interfaces:
-
java.io.Serializable
,java.lang.Comparable
public enum PreloadType
The preload type of the player.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description METADATA
The player will immediately load the metadata on source change.
- Loads enough resources to be able determine the Player#getDuration().
AUTO
The player will immediately load the metadata and the media on source change.
- Loads media up to getTargetBuffer.
NONE
The player will not load anything on source change.
-
Method Summary
Modifier and Type Method Description static Array<PreloadType>
values()
static PreloadType
valueOf(String name)
String
getType()
The textual representation of preload type. -
-
Method Detail
-
values
static Array<PreloadType> values()
-
valueOf
static PreloadType valueOf(String name)
-
-
-
-