BarcodeManager class
Zebra BarcodeManager + Scanner operations (Pigeon-backed).
Surfaces the full-fidelity EMDK types (ScanDataCollection, StatusData, ConnectionChange, ScannerInfo, ScannerConfig). Failures arrive as a typed ScannerException.
Constructors
- BarcodeManager({BarcodeHostApi? api})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onConnectionChange
→ Stream<
ConnectionChange> -
Scanner connect / disconnect events.
no setter
-
onData
→ Stream<
ScanDataCollection> -
Decoded scan results.
no setter
-
onStatus
→ Stream<
StatusData> -
Scanner state changes (idle / scanning / …).
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
deinitScanner(
) → Future< bool> -
disableRead(
) → Future< bool> -
enableRead(
) → Future< bool> -
getConfig(
) → Future< ScannerConfig?> -
getConnectedScanners(
) → Future< List< ScannerInfo> > -
getScannerInfo(
) → Future< ScannerInfo?> -
getSupportedScanners(
) → Future< List< ScannerInfo> > -
initScanner(
String friendlyName) → Future< bool> -
isEnabled(
) → Future< bool> - Whether the active scanner is currently enabled.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setConfig(
ScannerConfig config) → Future< bool> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited