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