public enum SourceType extends java.lang.Enum<SourceType>
| Enum Constant and Description |
|---|
ANT |
ANTPLUS |
BLUETOOTH |
BLUETOOTH_LOW_ENERGY |
INVALID |
LOCAL |
WIFI |
| Modifier and Type | Field and Description |
|---|---|
protected short |
value |
| Modifier and Type | Method and Description |
|---|---|
static SourceType |
getByValue(java.lang.Short value) |
static java.lang.String |
getStringFromValue(SourceType value)
Retrieves the String Representation of the Value
|
short |
getValue() |
static SourceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SourceType ANT
public static final SourceType ANTPLUS
public static final SourceType BLUETOOTH
public static final SourceType BLUETOOTH_LOW_ENERGY
public static final SourceType WIFI
public static final SourceType LOCAL
public static final SourceType INVALID
public static SourceType[] values()
for (SourceType c : SourceType.values()) System.out.println(c);
public static SourceType 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 SourceType getByValue(java.lang.Short value)
public static java.lang.String getStringFromValue(SourceType value)
value - The enum constantpublic short getValue()