FlutterZoop class

Properties

errorMessage Stream<ZoopErrorMessage>
read-only
isAvailable Future<bool>
Checks whether the device supports Bluetooth
read-only
isCharging ↔ BehaviorSubject<bool>
read / write
isOn Future<bool>
Checks if Bluetooth functionality is turned on
read-only
isScanning Stream<bool>
read-only
paymentAbort Stream<bool>
read-only
paymentResult Stream<ZoopPayment>
read-only
scanResults Stream<List<ZoopDevice>>
read-only
state Stream<BluetoothState>
Gets the current state of the Bluetooth module
read-only
terminalMessage Stream<ZoopTerminalMessage>
read-only
zoopDevices Stream<List<ZoopDevice>>
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

charge(ZoopCharge charge) Future<bool>
createDevicesList(String arguments) List<ZoopDevice>
proccessMessages(String arguments) → void
proccessPayment(String arguments) → void
proccessPaymentAborted() → void
proccessPaymentFailed(String arguments) → void
requestConnection(ZoopDevice device) Future<bool>
scan({ScanMode scanMode: ScanMode.lowLatency, List<Guid> withServices: const [], List<Guid> withDevices: const [], Duration timeout, bool allowDuplicates: false}) Stream<ZoopDevice>
Starts a scan for Bluetooth Low Energy devices Timeout closes the stream after a specified Duration
startScan({ScanMode scanMode: ScanMode.lowLatency, List<Guid> withServices: const [], List<Guid> withDevices: const [], Duration timeout, bool allowDuplicates: false}) Future
stopScan() Future
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited

Static Properties

instance FlutterZoop
read-only