public static enum AntPlusBikePowerPcc.AutoZeroStatus extends java.lang.Enum<AntPlusBikePowerPcc.AutoZeroStatus>
Enum Constant and Description |
---|
INVALID
Invalid field.
|
NOT_SUPPORTED
Auto-zero calibration is not supported.
|
OFF
Auto-zero calibration is currently disabled.
|
ON
Auto-zero calibration is currently enabled.
|
UNKNOWN
The current status of auto-zero on the power meter is not yet known.
|
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 AntPlusBikePowerPcc.AutoZeroStatus |
getValueFromInt(int intValue)
Convert int to equivalent enum value
|
static AntPlusBikePowerPcc.AutoZeroStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AntPlusBikePowerPcc.AutoZeroStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AntPlusBikePowerPcc.AutoZeroStatus OFF
public static final AntPlusBikePowerPcc.AutoZeroStatus ON
public static final AntPlusBikePowerPcc.AutoZeroStatus NOT_SUPPORTED
public static final AntPlusBikePowerPcc.AutoZeroStatus INVALID
public static final AntPlusBikePowerPcc.AutoZeroStatus UNKNOWN
public static final AntPlusBikePowerPcc.AutoZeroStatus UNRECOGNIZED
public static AntPlusBikePowerPcc.AutoZeroStatus[] values()
for (AntPlusBikePowerPcc.AutoZeroStatus c : AntPlusBikePowerPcc.AutoZeroStatus.values()) System.out.println(c);
public static AntPlusBikePowerPcc.AutoZeroStatus 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.AutoZeroStatus getValueFromInt(int intValue)
intValue
- integer to convertCopyright © 2015 Dynastream Innovations Inc. All Rights Reserved.