public static enum AntPlusBikePowerPcc.CustomCalibrationStatus extends java.lang.Enum<AntPlusBikePowerPcc.CustomCalibrationStatus>
Enum Constant and Description |
---|
CUSTOM_CALIBRATION_NOT_REQUIRED
Custom calibration is not required for the power meter.
|
CUSTOM_CALIBRATION_REQUIRED
Custom calibration is required for the power meter.
|
UNDEFINED
An undefined value with no meaning.
|
Modifier and Type | Method and Description |
---|---|
int |
getIntValue()
Convert enum to equivalent int value
|
static AntPlusBikePowerPcc.CustomCalibrationStatus |
getValueFromInt(int intValue)
Convert int to equivalent enum value
|
static AntPlusBikePowerPcc.CustomCalibrationStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AntPlusBikePowerPcc.CustomCalibrationStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AntPlusBikePowerPcc.CustomCalibrationStatus UNDEFINED
public static final AntPlusBikePowerPcc.CustomCalibrationStatus CUSTOM_CALIBRATION_NOT_REQUIRED
public static final AntPlusBikePowerPcc.CustomCalibrationStatus CUSTOM_CALIBRATION_REQUIRED
public static AntPlusBikePowerPcc.CustomCalibrationStatus[] values()
for (AntPlusBikePowerPcc.CustomCalibrationStatus c : AntPlusBikePowerPcc.CustomCalibrationStatus.values()) System.out.println(c);
public static AntPlusBikePowerPcc.CustomCalibrationStatus 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 AntPlusBikePowerPcc.CustomCalibrationStatus getValueFromInt(int intValue)
intValue
- integer to convertCopyright © 2015 Dynastream Innovations Inc. All Rights Reserved.