BluetoothState class

Enum class for showing state about bluetooth.

Annotations

Constructors

BluetoothState.parse(dynamic state)
factory

Properties

hashCode → int
The hash code for this object.
no setteroverride
isAndroid → bool
This will true only if this bluetooth state suit Android system.
final
isIOS → bool
This will true only if this bluetooth state suit iOS system.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → String
The defined String value of the bluetooth state.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Constants

stateOff → const BluetoothState
Shows that bluetooth state is off.
stateOn → const BluetoothState
Shows that bluetooth state is on.
stateResetting → const BluetoothState
Shows that bluetooth state is resetting.
stateTurningOff → const BluetoothState
Shows that bluetooth state is turning off.
stateTurningOn → const BluetoothState
Shows that bluetooth state is turning on.
stateUnauthorized → const BluetoothState
Shows that bluetooth state is unauthorized.
stateUnknown → const BluetoothState
Shows that bluetooth state is unknown. This is the default.
stateUnsupported → const BluetoothState
Shows that bluetooth state is unsupported.