public static enum ScanAndPairConfig.ScanDataType extends java.lang.Enum<ScanAndPairConfig.ScanDataType>
Enum Constant and Description |
---|
DEVICE_NAME
Scan data is a Bluetooth device name.
|
MAC_ADDRESS
Scan data is a Bluetooth MAC address
|
UNSPECIFIED
Scan data type is unknown.
|
Modifier and Type | Method and Description |
---|---|
static ScanAndPairConfig.ScanDataType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ScanAndPairConfig.ScanDataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScanAndPairConfig.ScanDataType MAC_ADDRESS
public static final ScanAndPairConfig.ScanDataType DEVICE_NAME
public static final ScanAndPairConfig.ScanDataType UNSPECIFIED
public static ScanAndPairConfig.ScanDataType[] values()
for (ScanAndPairConfig.ScanDataType c : ScanAndPairConfig.ScanDataType.values()) System.out.println(c);
public static ScanAndPairConfig.ScanDataType 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 null