public static enum AntPlusBikePowerPcc.CrankLengthStatus extends java.lang.Enum<AntPlusBikePowerPcc.CrankLengthStatus>
Enum Constant and Description |
---|
DEFAULT_USED
The default crank length of the power meter is being used.
|
INVALID_CRANK_LENGTH
The crank length field is invalid.
|
SET_AUTOMATICALLY
The crank length was set automatically by the power meter.
|
SET_MANUALLY
The crank length was set manually.
|
Modifier and Type | Method and Description |
---|---|
int |
getIntValue()
Convert enum to equivalent int value
|
static AntPlusBikePowerPcc.CrankLengthStatus |
getValueFromInt(int intValue)
Convert int to equivalent enum value
|
static AntPlusBikePowerPcc.CrankLengthStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AntPlusBikePowerPcc.CrankLengthStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AntPlusBikePowerPcc.CrankLengthStatus INVALID_CRANK_LENGTH
public static final AntPlusBikePowerPcc.CrankLengthStatus DEFAULT_USED
public static final AntPlusBikePowerPcc.CrankLengthStatus SET_MANUALLY
public static final AntPlusBikePowerPcc.CrankLengthStatus SET_AUTOMATICALLY
public static AntPlusBikePowerPcc.CrankLengthStatus[] values()
for (AntPlusBikePowerPcc.CrankLengthStatus c : AntPlusBikePowerPcc.CrankLengthStatus.values()) System.out.println(c);
public static AntPlusBikePowerPcc.CrankLengthStatus 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.CrankLengthStatus getValueFromInt(int intValue)
intValue
- integer to convertCopyright © 2015 Dynastream Innovations Inc. All Rights Reserved.