connectionState property
Stream<BluetoothConnectionStateEvent>
get
connectionState
监听 BLE 连接状态变化。
无参数。事件中包含 BluetoothConnectionStateEvent.deviceId 和状态;Linux 由 BlueZ
Device Connected 变化触发;Android 还可能包含原生 GATT 状态码。
Implementation
Stream<BluetoothConnectionStateEvent> get connectionState {
throw UnimplementedError('connectionState has not been implemented.');
}