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