Package com.tagtraum.audiokern
Enum PlayListPlayer.ScanMode
- java.lang.Object
-
- java.lang.Enum<PlayListPlayer.ScanMode>
-
- com.tagtraum.audiokern.PlayListPlayer.ScanMode
-
- All Implemented Interfaces:
Serializable
,Comparable<PlayListPlayer.ScanMode>
- Enclosing interface:
- PlayListPlayer
public static enum PlayListPlayer.ScanMode extends Enum<PlayListPlayer.ScanMode>
Scan mode.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PlayListPlayer.ScanMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static PlayListPlayer.ScanMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OFF
public static final PlayListPlayer.ScanMode OFF
Do not scan. Normal playback.
-
BEGINNING
public static final PlayListPlayer.ScanMode BEGINNING
Play beginnings of each song.
-
THIRD
public static final PlayListPlayer.ScanMode THIRD
Play starting at about a third of each song.
-
PROMINENT
public static final PlayListPlayer.ScanMode PROMINENT
Play a prominent part of each song.
-
-
Method Detail
-
values
public static PlayListPlayer.ScanMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PlayListPlayer.ScanMode c : PlayListPlayer.ScanMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PlayListPlayer.ScanMode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-