BluetoothStatus enum
Enumeration representing the possible statuses of the Bluetooth adapter on the Android platform.
- enabled: The Bluetooth adapter is turned on, and the device can connect to other Bluetooth devices.
- disabled: The Bluetooth adapter is turned off, and the device cannot connect to other Bluetooth devices.
- notAvailable: The device does not support Bluetooth functionality.
Values
- enabled → const BluetoothStatus
-
The Bluetooth adapter is turned on, and the device can connect to other Bluetooth devices.
const BluetoothStatus('enabled')
- disabled → const BluetoothStatus
-
The Bluetooth adapter is turned off, and the device cannot connect to other Bluetooth devices.
const BluetoothStatus('disabled')
- notAvailable → const BluetoothStatus
-
The device does not support Bluetooth functionality or Bluetooth is not available.
const BluetoothStatus('notAvailable')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- identifier → String
-
A String identifier for each BluetoothStatus value.
final
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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<
BluetoothStatus> - A constant List of the values in this enum, in order of their declaration.