ScanwedgeChannel class

Properties

completerSendCommandBundle ↔ Completer<String>?
getter/setter pair
deviceName → String
final
hashCode → int
The hash code for this object.
no setterinherited
isDeviceSupported → bool
no setter
isZebra → bool
no setter
manufacturer → String
final
modelName → String
final
osVersion → String
final
packageName → String
final
productName → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stream → Stream<ScanResult>
no setter
supportedDevice → SupportedDevice
final

Methods

createProfile({required ProfileModel profile}) → Future<bool>
disableScanner() → Future<bool>
enableScanner() → Future<bool>
getBatteryStatus() → Future<BatteryState>
getExtendedBatteryStatus() → Future<ExtendedBatteryStatus?>
monitorBatteryStatus() → Future<Stream<ExtendedBatteryStatus>?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendCommand({required String command, required String parameter}) → Future<bool>
sendCommandBundle({required String command, required Map<String, dynamic> parameter, required bool sendResult}) → Future<bool>
stopMonitoringBatteryStatus() → Future<void>
toggleScanning() → Future<bool>
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

isAndroid → bool
no setter

Static Methods

initialize() → Future<ScanwedgeChannel>
Returns if the given device is supported. This will also be used when calling the different methods Returns null if the device is not supported

Constants

channel → const String