public static enum AntPlusFitnessEquipmentPcc.CommandStatus.CommandId extends java.lang.Enum<AntPlusFitnessEquipmentPcc.CommandStatus.CommandId>
Enum Constant and Description |
---|
BASIC_RESISTANCE
Set basic resistance command.
|
NO_CONTROL_PAGE_RECEIVED
No control command has been received by the fitness equipment.
|
TARGET_POWER
Set target power command.
|
TRACK_RESISTANCE
Set track resistance command.
|
UNRECOGNIZED
The value sent by the plugin service was unrecognized indicating an upgrade of the PCC may be required to handle the value.
|
WIND_RESISTANCE
Set wind resistance command.
|
Modifier and Type | Method and Description |
---|---|
int |
getIntValue()
Convert enum to equivalent int value
|
static AntPlusFitnessEquipmentPcc.CommandStatus.CommandId |
getValueFromInt(int intValue)
Convert int to equivalent enum value
|
static AntPlusFitnessEquipmentPcc.CommandStatus.CommandId |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AntPlusFitnessEquipmentPcc.CommandStatus.CommandId[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AntPlusFitnessEquipmentPcc.CommandStatus.CommandId BASIC_RESISTANCE
public static final AntPlusFitnessEquipmentPcc.CommandStatus.CommandId TARGET_POWER
public static final AntPlusFitnessEquipmentPcc.CommandStatus.CommandId WIND_RESISTANCE
public static final AntPlusFitnessEquipmentPcc.CommandStatus.CommandId TRACK_RESISTANCE
public static final AntPlusFitnessEquipmentPcc.CommandStatus.CommandId NO_CONTROL_PAGE_RECEIVED
public static final AntPlusFitnessEquipmentPcc.CommandStatus.CommandId UNRECOGNIZED
public static AntPlusFitnessEquipmentPcc.CommandStatus.CommandId[] values()
for (AntPlusFitnessEquipmentPcc.CommandStatus.CommandId c : AntPlusFitnessEquipmentPcc.CommandStatus.CommandId.values()) System.out.println(c);
public static AntPlusFitnessEquipmentPcc.CommandStatus.CommandId 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 AntPlusFitnessEquipmentPcc.CommandStatus.CommandId getValueFromInt(int intValue)
intValue
- integer to convertCopyright © 2015 Dynastream Innovations Inc. All Rights Reserved.