public static enum AntPlusBikePowerPcc.CrankLengthSetting extends java.lang.Enum<AntPlusBikePowerPcc.CrankLengthSetting>
| Enum Constant and Description |
|---|
AUTO_CRANK_LENGTH
Set the power meter to automatically determine crank length.
|
INVALID
Set the crank length to invalid.
|
MANUAL_CRANK_LENGTH
Set the power meter crank length manually.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getIntValue()
Convert enum to equivalent int value
|
static AntPlusBikePowerPcc.CrankLengthSetting |
getValueFromInt(int intValue)
Returns the crank length setting from the int code.
|
static AntPlusBikePowerPcc.CrankLengthSetting |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AntPlusBikePowerPcc.CrankLengthSetting[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AntPlusBikePowerPcc.CrankLengthSetting AUTO_CRANK_LENGTH
public static final AntPlusBikePowerPcc.CrankLengthSetting MANUAL_CRANK_LENGTH
public static final AntPlusBikePowerPcc.CrankLengthSetting INVALID
public static AntPlusBikePowerPcc.CrankLengthSetting[] values()
for (AntPlusBikePowerPcc.CrankLengthSetting c : AntPlusBikePowerPcc.CrankLengthSetting.values()) System.out.println(c);
public static AntPlusBikePowerPcc.CrankLengthSetting 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.CrankLengthSetting getValueFromInt(int intValue)
intValue - The int value code.Copyright © 2015 Dynastream Innovations Inc. All Rights Reserved.