connectionState property
Future<BleConnectionState>
get
connectionState
Returns connection state of the device.
All platforms will return Connected/Disconnected states.
Android and Apple can also return Connecting/Disconnecting states.
Implementation
Future<BleConnectionState> get connectionState =>
UniversalBle.getConnectionState(deviceId);