public enum Commands extends Enum<Commands>
| Enum Constant and Description |
|---|
BLUETOOTH |
LIGHT |
PLAY_ANNOUNCE |
PLAY_STREAM |
PLAYBACK |
STOP |
VOLUME |
| Modifier and Type | Method and Description |
|---|---|
static Commands |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Commands[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Commands PLAY_ANNOUNCE
public static final Commands PLAY_STREAM
public static final Commands PLAYBACK
public static final Commands BLUETOOTH
public static final Commands LIGHT
public static final Commands VOLUME
public static final Commands STOP
public static Commands[] values()
for (Commands c : Commands.values()) System.out.println(c);
public static Commands 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 © 2017. All rights reserved.