You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The pull request #35 will be merged soon, and it adds the option, so the issue is being closed.
And there is syntax:
// Single call checkbool isEnabled =awaitFlutterBluetoothSerial.instance.isEnabled;
// Or listening for changesFlutterBluetoothSerial.instance.onStateChanged().listen((BluetoothState state) {
// The `BluetoothState` has enum-like interface with `isEnabled` getter (true if `state == BluetoothState.STATE_ON` print(state.isEnabled);
});
I'd like to check Bluetooth On/Off State before connection
Can I check this?
The text was updated successfully, but these errors were encountered: