public enum RepeatMode extends Enum<RepeatMode>
Enum Constant and Description |
---|
REPEAT_ALL
Repeats the entire playlist continously
|
REPEAT_OFF
Stop playback when end of playlist is reached
|
REPEAT_ONE
Repeats the current playlist item continously
|
Modifier and Type | Method and Description |
---|---|
static RepeatMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RepeatMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RepeatMode REPEAT_OFF
public static final RepeatMode REPEAT_ONE
public static final RepeatMode REPEAT_ALL
public static RepeatMode[] values()
for (RepeatMode c : RepeatMode.values()) System.out.println(c);
public static RepeatMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2009-2013. All Rights Reserved.