getBluetoothAvailabilityState static method
Get Bluetooth availability state. To be notified of updates, set onAvailabilityChange listener.
Implementation
static Future<AvailabilityState> getBluetoothAvailabilityState() async {
return await _bleCommandQueue.queueCommand(
() => _platform.getBluetoothAvailabilityState(),
);
}