public enum NADeviceType extends Enum<NADeviceType>
Enum Constant and Description |
---|
BLUETOOTH
A Bluetooth 2.0 (Standard) device.
|
IBEACON
An iBeacon device.
|
NEWAER
A NewAer Device, running your application with the NewAer platform.
|
WEARABLE
A Supported Wearable Device.
|
WIFI
A WiFi AP.
|
Modifier and Type | Method and Description |
---|---|
String |
getCode() |
String |
getName(Context context)
Returns a localized version of the type for consumption
by user interfaces.
|
static List<String> |
getNameList(Context context) |
NAScanType |
getScanType() |
static NADeviceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NADeviceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NADeviceType IBEACON
public static final NADeviceType WIFI
public static final NADeviceType BLUETOOTH
public static final NADeviceType NEWAER
public static final NADeviceType WEARABLE
public static NADeviceType[] values()
for (NADeviceType c : NADeviceType.values()) System.out.println(c);
public static NADeviceType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static List<String> getNameList(Context context)
context
- the context to use to get the name strings.public String getName(Context context)
context
- the context to use to get the localized name.public String getCode()
public NAScanType getScanType()