public static enum FitFileCommon.FitFileDataType extends java.lang.Enum<FitFileCommon.FitFileDataType>
Enum Constant and Description |
---|
BLOOD_PRESSURE
Blood pressure file
|
FIT_DATA_TYPE
Fit Data Type Flag
|
INVALID
Invalid flag
|
UNRECOGNIZED
The value sent by the plugin service was unrecognized probably indicating an upgrade of the PCC is required to handle the value.
|
Modifier and Type | Method and Description |
---|---|
int |
getIntValue()
Get value of flag
|
static FitFileCommon.FitFileDataType |
getValueFromInt(int intValue)
Convert int to enum.
|
static FitFileCommon.FitFileDataType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FitFileCommon.FitFileDataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FitFileCommon.FitFileDataType FIT_DATA_TYPE
public static final FitFileCommon.FitFileDataType BLOOD_PRESSURE
public static final FitFileCommon.FitFileDataType INVALID
public static final FitFileCommon.FitFileDataType UNRECOGNIZED
public static FitFileCommon.FitFileDataType[] values()
for (FitFileCommon.FitFileDataType c : FitFileCommon.FitFileDataType.values()) System.out.println(c);
public static FitFileCommon.FitFileDataType 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 FitFileCommon.FitFileDataType getValueFromInt(int intValue)
intValue
- the int value to convertCopyright © 2015 Dynastream Innovations Inc. All Rights Reserved.