public enum HardButtonType extends java.lang.Enum<HardButtonType>
| Enum Constant and Description |
|---|
AUDIO_MUTE |
HEADSET |
SPEAKER |
VIDEO_MUTE |
| Modifier and Type | Method and Description |
|---|---|
static HardButtonType |
fromInt(int keycode) |
int |
getValue() |
static HardButtonType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HardButtonType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HardButtonType AUDIO_MUTE
public static final HardButtonType VIDEO_MUTE
public static final HardButtonType SPEAKER
public static final HardButtonType HEADSET
public static HardButtonType[] values()
for (HardButtonType c : HardButtonType.values()) System.out.println(c);
public static HardButtonType 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 getValue()
public static HardButtonType fromInt(int keycode)