IminBroadcastScanner class final

Receives decoded Android iMin broadcasts through a platform boundary.

Implemented types

Constructors

IminBroadcastScanner({required ScannerPlatform platform, DateTime clock()?, String eventIdFactory()?})
Creates a source using platform for native reception.

Properties

diagnostics → Stream<ScannerDiagnostic>
The broadcast stream of discarded-input notices without barcode contents.
no setterinherited
events → Stream<BarcodeScan>
The broadcast stream of observations and operational errors.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → Future<void>
Permanently releases resources and closes events. May retry failed cleanup.
inherited
emit(BarcodeScan scan) → void
Delivers scan unless this owner is disposed or its streams are closed.
inherited
emitDiagnostic(ScannerDiagnostic diagnostic) → void
Delivers a discarded-input notice without barcode contents.
inherited
emitError(Object error, StackTrace stack) → void
Delivers an operational error and its original stack.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onDispose() → Future<void>
Releases owned children even when the preceding stop attempt failed.
inherited
onStart() → Future<void>
Acquires reception resources for the serialized start operation.
onStop() → Future<void>
Releases reception resources, allowing retries when cleanup fails.
start() → Future<void>
Starts reception or reports an acquisition/configuration failure.
inherited
stop() → Future<void>
Stops input and waits for any pending start. A later start is allowed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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