public enum NAScanType extends Enum<NAScanType>
Enum Constant and Description |
---|
BLUETOOTH
Bluetooth 2.0 standard device.
|
IBEACON
IBeacon Device.
|
NEWAER
Newaer Devices, your application running on other mobile devices in proximity
|
WEARABLE
Wearable devices.
|
WIFI
WIFI Device.
|
Modifier and Type | Field and Description |
---|---|
int |
stringId |
Modifier and Type | Method and Description |
---|---|
NADeviceType |
getDeviceType() |
String |
getName(Context context)
Returns a localized version of the scan type for consumption
by user interfaces.
|
static NAScanType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NAScanType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NAScanType IBEACON
public static final NAScanType BLUETOOTH
public static final NAScanType WEARABLE
public static final NAScanType NEWAER
public static final NAScanType WIFI
public static NAScanType[] values()
for (NAScanType c : NAScanType.values()) System.out.println(c);
public static NAScanType 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 NADeviceType getDeviceType()