BarcodeListener class

Listening keyboard input from barcode scanner

Listens to keyboard input. Upon detection of scanning button press, records incoming sequence of presses, after the scanning button was released provides recorded data as a string of scanning result

Constructors

BarcodeListener(ScanCallback _scanCallback, int _scanButtonKeyCode, [ KeyCodeCallback _otherKeyCallback, List<int> _otherKeyCodeList ])
parameters: [...]

Properties

enabled ↔ bool
activate/deactivate reaction to events incoming from keyboard
read / write
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

dispose() → void
release of used resources
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