BluetoothPeripheralState enum
Constructors
- BluetoothPeripheralState()
-
const
Values
- granted → const BluetoothPeripheralState
-
The user granted access to the requested feature.
- denied → const BluetoothPeripheralState
-
The user denied access to the requested feature, permission needs to be asked first.
- permanentlyDenied → const BluetoothPeripheralState
-
Permission to the requested feature is permanently denied, the permission dialog will not be shown when requesting this permission. The user may still change the permission status in the settings.
- restricted → const BluetoothPeripheralState
-
The OS denied access to the requested feature. The user cannot change this app's status, possibly due to active restrictions such as parental controls being in place.
Only supported on iOS.
- limited → const BluetoothPeripheralState
-
User has authorized this application for limited access. Only supported on iOS (iOS14+).
- turnedOff → const BluetoothPeripheralState
-
Bluetooth is turned off
- unsupported → const BluetoothPeripheralState
- unknown → const BluetoothPeripheralState
-
The status is unknown
- ready → const BluetoothPeripheralState
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
BluetoothPeripheralState> - A constant List of the values in this enum, in order of their declaration.