public static enum AntPlusCommonPcc.CommonDataPage extends java.lang.Enum<AntPlusCommonPcc.CommonDataPage>
Enum Constant and Description |
---|
BATTERY_STATUS
The battery voltage and status of device
|
COMMAND_STATUS
The status of commands sent from a slave to master device
|
MANUFACTURER_IDENTIFICATION
Hardware revision, manufacturer ID and a model number
|
PRODUCT_INFORMATION
Allots two bytes for software revision number as well as the ability to transmit the lowest four bytes of the device's serial number
|
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 AntPlusCommonPcc.CommonDataPage |
getValueFromInt(int intValue)
Convert int to equivalent enum value
|
static AntPlusCommonPcc.CommonDataPage |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AntPlusCommonPcc.CommonDataPage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AntPlusCommonPcc.CommonDataPage MANUFACTURER_IDENTIFICATION
public static final AntPlusCommonPcc.CommonDataPage PRODUCT_INFORMATION
public static final AntPlusCommonPcc.CommonDataPage BATTERY_STATUS
public static final AntPlusCommonPcc.CommonDataPage COMMAND_STATUS
public static final AntPlusCommonPcc.CommonDataPage UNRECOGNIZED
public static AntPlusCommonPcc.CommonDataPage[] values()
for (AntPlusCommonPcc.CommonDataPage c : AntPlusCommonPcc.CommonDataPage.values()) System.out.println(c);
public static AntPlusCommonPcc.CommonDataPage 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 AntPlusCommonPcc.CommonDataPage getValueFromInt(int intValue)
intValue
- integer to convertCopyright © 2015 Dynastream Innovations Inc. All Rights Reserved.