BluetoothPermissionStatus enum

Enumeration representing the possible statuses of a request for Bluetooth permissions.

  • granted: The user has granted the application permission to use Bluetooth functionality on their device.
  • denied: The user has denied the application permission to use Bluetooth functionality.
  • unknown: The result of a request for permissions is unknown.
Inheritance
Available extensions

Values

granted → const BluetoothPermissionStatus

The user has granted the application permission to use Bluetooth functionality on their device.

const BluetoothPermissionStatus('granted')
denied → const BluetoothPermissionStatus

The user has denied the application permission to use Bluetooth functionality.

const BluetoothPermissionStatus('denied')
unknown → const BluetoothPermissionStatus

The result of a request for permissions is unknown.

const BluetoothPermissionStatus('unknown')

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<BluetoothPermissionStatus>
A constant List of the values in this enum, in order of their declaration.