AndroidConnectionOptions class

Constructors

AndroidConnectionOptions({bool? closeGattOnDetach})

Properties

closeGattOnDetach ↔ bool?
Close the GATT client when the FlutterEngine is detached (for example, when the app is "killed"). The plugin otherwise leaves the GATT open, keeping the peripheral occupied until its supervision timeout; with autoConnect it also stays open for reconnection.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

encode() → Object
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

Static Methods

decode(Object result) → AndroidConnectionOptions