public enum PedometerCommand extends java.lang.Enum<PedometerCommand> implements BaseEnum, Command
Enum Constant and Description |
---|
GET_ALGO_VENDOR_VERSION_REQ |
GET_ALGO_VENDOR_VERSION_RES |
REF |
Modifier and Type | Method and Description |
---|---|
static PedometerCommand |
getEnum(byte[] data) |
byte[] |
getID() |
PedometerCommand |
getRefEnum(byte[] data) |
java.lang.String |
toString() |
static PedometerCommand |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PedometerCommand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PedometerCommand REF
public static final PedometerCommand GET_ALGO_VENDOR_VERSION_REQ
public static final PedometerCommand GET_ALGO_VENDOR_VERSION_RES
public static PedometerCommand[] values()
for (PedometerCommand c : PedometerCommand.values()) System.out.println(c);
public static PedometerCommand 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 static PedometerCommand getEnum(byte[] data)
public PedometerCommand getRefEnum(byte[] data)
getRefEnum
in interface BaseEnum
public byte[] getID()
public java.lang.String toString()
toString
in class java.lang.Enum<PedometerCommand>