main
1part of 'bluetooth_cubit.dart';
2
3/// State of the devices bluetooth module.
4@immutable
5sealed class BluetoothState {}
6
7/// No information on whether bluetooth is available.
8///
9/// Users may show a loading indication but can not assume bluetooth is
10/// available.
11class BluetoothInitial extends BluetoothState {}
12
13/// There is no way bluetooth will work (e.g. no sensor).
14///
15/// Options relating to bluetooth should not be shown.
16class BluetoothUnfeasible extends BluetoothState {}
17
18/// There is a bluetooth sensor but the app has no permission.
19class BluetoothUnauthorized extends BluetoothState {}
20
21/// The device has Bluetooth and the app has permissions, but it is disabled in
22/// the device settings.
23class BluetoothDisabled extends BluetoothState {}
24
25/// Bluetooth is ready for use by the app.
26class BluetoothReady extends BluetoothState {}