📜  android 获取连接的蓝牙设备 - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:44.305000             🧑  作者: Mango

代码示例1
BluetoothManager manager = (BluetoothManager) getSystemService(BLUETOOTH_SERVICE);
    List connected = manager.getConnectedDevices(GATT);
    Log.i("Connected Devices: ", connected.size()+"");