public enum DeviceType
- Object
- Enum<DeviceType>
- DeviceType
ImplementsComparable<DeviceType>
The transport family a remote
BluetoothDevice supports, mirroring
Android’s device-type classification. iOS only ever reports LE or
UNKNOWN since CoreBluetooth does not expose classic devices.Enum constants
CLASSIC | Classic (BR/EDR) only – reachable via RFCOMM but not BLE. |
LE | Bluetooth Low Energy only. |
DUAL | Dual-mode device supporting both classic and LE transports. |
UNKNOWN | The transport family has not been determined. |
Methods
public static DeviceType[] values() | |
public static DeviceType valueOf(String name) |
Inherited methods
Enum constant details
CLASSIC
CLASSICClassic (BR/EDR) only – reachable via RFCOMM but not BLE.
LE
LEBluetooth Low Energy only.
DUAL
DUALDual-mode device supporting both classic and LE transports.
UNKNOWN
UNKNOWNThe transport family has not been determined.
Method details
values
public static DeviceType[] values()valueOf
public static DeviceType valueOf(String name)