public static enum AntPlusFitnessEquipmentPcc.TrainerStatusFlag extends java.lang.Enum<AntPlusFitnessEquipmentPcc.TrainerStatusFlag>
Enum Constant and Description |
---|
BICYCLE_POWER_CALIBRATION_REQUIRED
Bicycle power measurement (i.e.
|
MAXIMUM_POWER_LIMIT_REACHED
Users cycling speed is too low to achieve target power.
|
MINIMUM_POWER_LIMIT_REACHED
Users cycling speed is too high to achieve target power.
|
RESISTANCE_CALIBRATION_REQUIRED
Resistance calibration (i.e.
|
UNRECOGNIZED_FLAG_PRESENT
The value sent by the plugin service was at least partially unrecognized indicating an upgrade of the PCC may be required to handle the value.
|
USER_CONFIGURATION_REQUIRED
User configuration required.
|
Modifier and Type | Method and Description |
---|---|
static java.util.EnumSet<AntPlusFitnessEquipmentPcc.TrainerStatusFlag> |
getEnumSet(long longValue)
Gets the set of flags contained in the given value
|
static long |
getLong(java.util.EnumSet<AntPlusFitnessEquipmentPcc.TrainerStatusFlag> trainerStatusFlags)
Converts a set of flags to the equivalent raw long value
|
long |
getLongValue()
Convert enum to equivalent long value.
|
static AntPlusFitnessEquipmentPcc.TrainerStatusFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AntPlusFitnessEquipmentPcc.TrainerStatusFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AntPlusFitnessEquipmentPcc.TrainerStatusFlag UNRECOGNIZED_FLAG_PRESENT
public static final AntPlusFitnessEquipmentPcc.TrainerStatusFlag BICYCLE_POWER_CALIBRATION_REQUIRED
public static final AntPlusFitnessEquipmentPcc.TrainerStatusFlag RESISTANCE_CALIBRATION_REQUIRED
public static final AntPlusFitnessEquipmentPcc.TrainerStatusFlag USER_CONFIGURATION_REQUIRED
public static final AntPlusFitnessEquipmentPcc.TrainerStatusFlag MAXIMUM_POWER_LIMIT_REACHED
public static final AntPlusFitnessEquipmentPcc.TrainerStatusFlag MINIMUM_POWER_LIMIT_REACHED
public static AntPlusFitnessEquipmentPcc.TrainerStatusFlag[] values()
for (AntPlusFitnessEquipmentPcc.TrainerStatusFlag c : AntPlusFitnessEquipmentPcc.TrainerStatusFlag.values()) System.out.println(c);
public static AntPlusFitnessEquipmentPcc.TrainerStatusFlag 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 long getLongValue()
public static java.util.EnumSet<AntPlusFitnessEquipmentPcc.TrainerStatusFlag> getEnumSet(long longValue)
longValue
- raw long value containing flagspublic static long getLong(java.util.EnumSet<AntPlusFitnessEquipmentPcc.TrainerStatusFlag> trainerStatusFlags)
trainerStatusFlags
- set of flags to convertCopyright © 2015 Dynastream Innovations Inc. All Rights Reserved.