public enum AudioRepeatState extends java.lang.Enum<AudioRepeatState>
Enum Constant and Description |
---|
ALL_SONGS
Repeat all songs
|
CURRENT_TRACK
Repeat current track
|
CUSTOM
Custom repeat
|
OFF_UNSUPPORTED
Repeat Off/Unsupported
|
UNRECOGNIZED
The value sent by the plugin service was unrecognized indicating an upgrade of the PCC may be required to handle the value.
|
Modifier and Type | Method and Description |
---|---|
int |
getIntValue()
Convert enum to equivalent int value
|
static AudioRepeatState |
getValueFromInt(int intValue)
Convert int to equivalent enum value
|
static AudioRepeatState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AudioRepeatState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AudioRepeatState OFF_UNSUPPORTED
public static final AudioRepeatState CURRENT_TRACK
public static final AudioRepeatState ALL_SONGS
public static final AudioRepeatState CUSTOM
public static final AudioRepeatState UNRECOGNIZED
public static AudioRepeatState[] values()
for (AudioRepeatState c : AudioRepeatState.values()) System.out.println(c);
public static AudioRepeatState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getIntValue()
public static AudioRepeatState getValueFromInt(int intValue)
intValue
- integer to convertCopyright © 2015 Dynastream Innovations Inc. All Rights Reserved.