public static enum AntPlusFitnessEquipmentPcc.TrainerDataSource extends java.lang.Enum<AntPlusFitnessEquipmentPcc.TrainerDataSource>
Enum Constant and Description |
---|
COAST_OR_STOP_DETECTED
A coast or stop condition detected by the ANT+ Plugin.
|
INITIAL_VALUE_TRAINER_DATA
New starting value derived from trainer accumulated power data.
|
INITIAL_VALUE_TRAINER_TORQUE_DATA
New starting value derived from trainer wheel torque data.
|
TRAINER_DATA
Data derived from trainer page data.
|
TRAINER_TORQUE_DATA
Data derived from trainer wheel torque data.
|
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.TrainerDataSource |
getValueFromInt(int intValue)
Convert int to equivalent enum value
|
static AntPlusFitnessEquipmentPcc.TrainerDataSource |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AntPlusFitnessEquipmentPcc.TrainerDataSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AntPlusFitnessEquipmentPcc.TrainerDataSource TRAINER_DATA
public static final AntPlusFitnessEquipmentPcc.TrainerDataSource TRAINER_TORQUE_DATA
public static final AntPlusFitnessEquipmentPcc.TrainerDataSource INITIAL_VALUE_TRAINER_DATA
public static final AntPlusFitnessEquipmentPcc.TrainerDataSource INITIAL_VALUE_TRAINER_TORQUE_DATA
public static final AntPlusFitnessEquipmentPcc.TrainerDataSource COAST_OR_STOP_DETECTED
public static final AntPlusFitnessEquipmentPcc.TrainerDataSource UNRECOGNIZED
public static AntPlusFitnessEquipmentPcc.TrainerDataSource[] values()
for (AntPlusFitnessEquipmentPcc.TrainerDataSource c : AntPlusFitnessEquipmentPcc.TrainerDataSource.values()) System.out.println(c);
public static AntPlusFitnessEquipmentPcc.TrainerDataSource 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.TrainerDataSource getValueFromInt(int intValue)
intValue
- integer to convertCopyright © 2015 Dynastream Innovations Inc. All Rights Reserved.