public enum DeviceType extends java.lang.Enum<DeviceType>
Enum Constant and Description |
---|
BIKE_CADENCE
Bike Cadence Sensor
|
BIKE_POWER
Bike Power
|
BIKE_SPD
Bike Speed Sensor
|
BIKE_SPDCAD
Bike Speed and Cadence Combined Sensor
|
BLOOD_PRESSURE
Blood Pressure
|
CONTROLLABLE_DEVICE
Controllable Device - Controls Profile
|
ENVIRONMENT
Environment (TEMPE)
|
FITNESS_EQUIPMENT
Fitness Equipment
|
GEOCACHE
Geocache
|
HEARTRATE
Heart Rate
|
STRIDE_SDM
Stride Based Speed and Distance Monitor
|
UNKNOWN
The value sent by the plugin service was unrecognized indicating an upgrade of the PCC may be required to handle the value.
|
WEIGHT_SCALE
Weight Scale
|
Modifier and Type | Method and Description |
---|---|
int |
getIntValue() |
static DeviceType |
getValueFromInt(int intValue) |
java.lang.String |
toString() |
static DeviceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DeviceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceType BIKE_POWER
public static final DeviceType CONTROLLABLE_DEVICE
public static final DeviceType FITNESS_EQUIPMENT
public static final DeviceType BLOOD_PRESSURE
public static final DeviceType GEOCACHE
public static final DeviceType ENVIRONMENT
public static final DeviceType WEIGHT_SCALE
public static final DeviceType HEARTRATE
public static final DeviceType BIKE_SPDCAD
public static final DeviceType BIKE_CADENCE
public static final DeviceType BIKE_SPD
public static final DeviceType STRIDE_SDM
public static final DeviceType UNKNOWN
public static DeviceType[] values()
for (DeviceType c : DeviceType.values()) System.out.println(c);
public static DeviceType 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 DeviceType getValueFromInt(int intValue)
intValue
- An ANT device type value.UNKNOWN
if the type is not
recognized.public java.lang.String toString()
toString
in class java.lang.Enum<DeviceType>
Copyright © 2015 Dynastream Innovations Inc. All Rights Reserved.