List of usage examples for android.bluetooth BluetoothDevice DEVICE_TYPE_UNKNOWN
int DEVICE_TYPE_UNKNOWN
To view the source code for android.bluetooth BluetoothDevice DEVICE_TYPE_UNKNOWN.
Click Source Link
From source file:Main.java
public static String formatDeviceType(int type) { switch (type) { case BluetoothDevice.DEVICE_TYPE_CLASSIC: return "Bluetooth Classic"; case BluetoothDevice.DEVICE_TYPE_LE: return "Low Energy"; case BluetoothDevice.DEVICE_TYPE_DUAL: return "Dual"; case BluetoothDevice.DEVICE_TYPE_UNKNOWN: default:/*from w w w .jav a2s .c o m*/ return "Unknown"; } }