LEBluetoothConnectionConfig class
- Inheritance
-
- Object
- ConnectionConfig
- LEBluetoothConnectionConfig
Constructors
- LEBluetoothConnectionConfig({bool androidAutoConnect = false, Duration? timeout, LEConnectionPriority connectionPriority = LEConnectionPriority.balanced})
-
const
Properties
- androidAutoConnect → bool
-
Android Only. Default to false.
final
- connectionPriority → LEConnectionPriority
-
Connection Priority.
Only for Android currently.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeout → Duration?
-
The timeout for BLE connection.
If null, will use the default timeout of platform.
Use it carefully on Android cause it may leave Android's BLE stack in an inconsistent state.
Only for Android currently.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited