public enum GenericCommandNumber extends java.lang.Enum<GenericCommandNumber>
Enum Constant and Description |
---|
HOME
Home
|
LAP
Lap
|
LENGTH
Length
|
MENU_BACK
Menu back
|
MENU_DOWN
Menu down
|
MENU_SELECT
Menu select
|
MENU_UP
Menu Up
|
NO_COMMAND
No command
|
RESET
Reset
|
START
Start
|
STOP
Stop
|
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 |
---|---|
static java.util.ArrayList<GenericCommandNumber> |
getGenericCommands()
A method that provides the generic commands that are defined in the
controls profile.
|
int |
getIntValue()
Convert enum to equivalent int value
|
byte |
getLowerByte() |
byte |
getUpperByte() |
static GenericCommandNumber |
getValueFromInt(int intValue)
Convert int to equivalent enum value
|
static GenericCommandNumber |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GenericCommandNumber[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GenericCommandNumber MENU_UP
public static final GenericCommandNumber MENU_DOWN
public static final GenericCommandNumber MENU_SELECT
public static final GenericCommandNumber MENU_BACK
public static final GenericCommandNumber HOME
public static final GenericCommandNumber START
public static final GenericCommandNumber STOP
public static final GenericCommandNumber RESET
public static final GenericCommandNumber LENGTH
public static final GenericCommandNumber LAP
public static final GenericCommandNumber NO_COMMAND
public static final GenericCommandNumber UNRECOGNIZED
public static GenericCommandNumber[] values()
for (GenericCommandNumber c : GenericCommandNumber.values()) System.out.println(c);
public static GenericCommandNumber 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 GenericCommandNumber getValueFromInt(int intValue)
intValue
- integer to convertpublic byte getLowerByte()
public byte getUpperByte()
public static java.util.ArrayList<GenericCommandNumber> getGenericCommands()
Copyright © 2015 Dynastream Innovations Inc. All Rights Reserved.