public static enum AntPlusFitnessEquipmentPcc.CommandStatus.Status extends java.lang.Enum<AntPlusFitnessEquipmentPcc.CommandStatus.Status>
Enum Constant and Description |
---|
FAIL
Command received and processed unsuccessfully.
|
NOT_SUPPORTED
Not supported.
|
PASS
Command received and processed successfully.
|
PENDING
Command received and not yet processed.
|
REJECTED
Rejected.
|
UNINITIALIZED
Fitness equipment never received a command.
|
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 AntPlusFitnessEquipmentPcc.CommandStatus.Status |
getValueFromInt(int intValue)
Convert int to equivalent enum value
|
static AntPlusFitnessEquipmentPcc.CommandStatus.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AntPlusFitnessEquipmentPcc.CommandStatus.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AntPlusFitnessEquipmentPcc.CommandStatus.Status PASS
public static final AntPlusFitnessEquipmentPcc.CommandStatus.Status FAIL
public static final AntPlusFitnessEquipmentPcc.CommandStatus.Status NOT_SUPPORTED
public static final AntPlusFitnessEquipmentPcc.CommandStatus.Status REJECTED
public static final AntPlusFitnessEquipmentPcc.CommandStatus.Status PENDING
public static final AntPlusFitnessEquipmentPcc.CommandStatus.Status UNINITIALIZED
public static final AntPlusFitnessEquipmentPcc.CommandStatus.Status UNRECOGNIZED
public static AntPlusFitnessEquipmentPcc.CommandStatus.Status[] values()
for (AntPlusFitnessEquipmentPcc.CommandStatus.Status c : AntPlusFitnessEquipmentPcc.CommandStatus.Status.values()) System.out.println(c);
public static AntPlusFitnessEquipmentPcc.CommandStatus.Status 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.Status getValueFromInt(int intValue)
intValue
- integer to convertCopyright © 2015 Dynastream Innovations Inc. All Rights Reserved.