public static enum AdvancedKeyboard.LayoutNotificationType extends java.lang.Enum<AdvancedKeyboard.LayoutNotificationType>
| Enum Constant and Description |
|---|
ALL
Shows all available types of notification.
|
NONE
Do not show any type of notification.
|
ONLY_LED
Shows only color LEDs related to the currently selected layout.
|
ONLY_STATUS_BAR
Shows the currently selected layout in the notification bar only.
|
| Modifier and Type | Method and Description |
|---|---|
static AdvancedKeyboard.LayoutNotificationType |
fromInt(int value)
Retrieves the corresponding LayoutNotificationType value from a valid integer.
|
int |
toInt()
Converts the LayoutNotificationType to its integer corresponding value.
|
static AdvancedKeyboard.LayoutNotificationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AdvancedKeyboard.LayoutNotificationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdvancedKeyboard.LayoutNotificationType NONE
public static final AdvancedKeyboard.LayoutNotificationType ONLY_LED
public static final AdvancedKeyboard.LayoutNotificationType ONLY_STATUS_BAR
public static final AdvancedKeyboard.LayoutNotificationType ALL
public static AdvancedKeyboard.LayoutNotificationType[] values()
for (AdvancedKeyboard.LayoutNotificationType c : AdvancedKeyboard.LayoutNotificationType.values()) System.out.println(c);
public static AdvancedKeyboard.LayoutNotificationType 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 toInt()
public static AdvancedKeyboard.LayoutNotificationType fromInt(int value)
value - Integer to use as input in the conversion.