getBluetoothDeviceType static method
Implementation
static String getBluetoothDeviceType(BluetoothDeviceType type) {
switch (type) {
case BluetoothDeviceType.classic:
return "classic";
case BluetoothDeviceType.dual:
return "dual";
case BluetoothDeviceType.le:
return "le";
default:
return "unknown";
}
}