public static enum AntPlusBikePowerPcc.DataSource extends java.lang.Enum<AntPlusBikePowerPcc.DataSource>
Enum Constant and Description |
---|
COAST_OR_STOP_DETECTED
A coast or stop condition detected by the ANT+ Plugin.
|
CRANK_TORQUE_DATA
Data derived from crank torque data.
|
CTF_DATA
Data derived from crank torque frequency data.
|
INITIAL_VALUE_CRANK_TORQUE_DATA
New starting value derived from crank torque data.
|
INITIAL_VALUE_CTF_DATA
New starting value derived from crank torque frequency data.
|
INITIAL_VALUE_POWER_ONLY_DATA
New starting value derived from power-only data.
|
INITIAL_VALUE_WHEEL_TORQUE_DATA
New starting value derived from wheel torque data.
|
INVALID
Invalid data source.
|
INVALID_CTF_CAL_REQ
Invalid value.
|
POWER_ONLY_DATA
Data derived from power-only data.
|
UNRECOGNIZED
The value sent by the plugin service was unrecognized indicating an upgrade of the PCC may be required to handle the value.
|
WHEEL_TORQUE_DATA
Data derived from wheel torque data.
|
Modifier and Type | Method and Description |
---|---|
int |
getIntValue()
Convert enum to equivalent int value
|
static AntPlusBikePowerPcc.DataSource |
getValueFromInt(int intValue)
Convert int to equivalent enum value
|
static AntPlusBikePowerPcc.DataSource |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AntPlusBikePowerPcc.DataSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AntPlusBikePowerPcc.DataSource POWER_ONLY_DATA
public static final AntPlusBikePowerPcc.DataSource WHEEL_TORQUE_DATA
public static final AntPlusBikePowerPcc.DataSource CRANK_TORQUE_DATA
public static final AntPlusBikePowerPcc.DataSource CTF_DATA
public static final AntPlusBikePowerPcc.DataSource COAST_OR_STOP_DETECTED
public static final AntPlusBikePowerPcc.DataSource INITIAL_VALUE_POWER_ONLY_DATA
public static final AntPlusBikePowerPcc.DataSource INITIAL_VALUE_WHEEL_TORQUE_DATA
public static final AntPlusBikePowerPcc.DataSource INITIAL_VALUE_CRANK_TORQUE_DATA
public static final AntPlusBikePowerPcc.DataSource INITIAL_VALUE_CTF_DATA
public static final AntPlusBikePowerPcc.DataSource INVALID
public static final AntPlusBikePowerPcc.DataSource INVALID_CTF_CAL_REQ
public static final AntPlusBikePowerPcc.DataSource UNRECOGNIZED
public static AntPlusBikePowerPcc.DataSource[] values()
for (AntPlusBikePowerPcc.DataSource c : AntPlusBikePowerPcc.DataSource.values()) System.out.println(c);
public static AntPlusBikePowerPcc.DataSource 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.DataSource getValueFromInt(int intValue)
intValue
- integer to convertCopyright © 2015 Dynastream Innovations Inc. All Rights Reserved.