LedgerBleConnectionManager class
- Inheritance
-
- Object
- ConnectionManager
- LedgerBleConnectionManager
Constructors
- LedgerBleConnectionManager({required PermissionRequestCallback onPermissionRequest})
Properties
- connectionType → ConnectionType
-
final
-
devices
→ Future<
List< LedgerDevice> > -
Get a list of connected LedgerDevices.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- onPermissionRequest → PermissionRequestCallback
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
status
→ Future<
AvailabilityState> -
Returns the current status of the BLE subsystem of the host device.
no setteroverride
-
statusStateChanges
→ Stream<
AvailabilityState> -
A stream providing the host device BLE subsystem status updates.
no setteroverride
Methods
-
connect(
LedgerDevice device) → Future< void> -
override
-
deviceStateChanges(
String deviceId) → Stream< BleConnectionState> -
A stream providing connection updates for all the connected BLE devices.
override
-
disconnect(
String deviceId) → Future< void> -
override
-
dispose(
) → Future< void> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendRawOperation<
T> (LedgerDevice device, LedgerRawOperation< T> operation, LedgerTransformer? transformer) → Future<T> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited