BluetoothDeviceType enum

Enum for Bluetooth device types

Inheritance
Available extensions

Values

unknown → const BluetoothDeviceType

Unknown device type (0)

classic → const BluetoothDeviceType

Classic Bluetooth device (1)

le → const BluetoothDeviceType

Bluetooth Low Energy device (2)

dual → const BluetoothDeviceType

Device supporting both classic and LE (3)

Properties

hashCode int
The hash code for this object.
no setterinherited
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
toInt() int
Converts enum value to integer
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromInt(int? value) BluetoothDeviceType
Creates BluetoothDeviceType from integer value

Constants

values → const List<BluetoothDeviceType>
A constant List of the values in this enum, in order of their declaration.