ReadOptions class

Class responsible for configuring scan options, including read modes, illumination, and barcode settings.

Annotations
  • @lazySingleton

Constructors

ReadOptions()

Properties

hashCode int
The hash code for this object.
no setterinherited
illuminationModeCommands Map<IlluminationMode, String>
A mapping of IlluminationMode to the corresponding command string.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendCommand(String deviceId, String command, {List<String> parameters = const [], bool sendFeedback = true}) Future<CommandResponse>
inherited
setAiming({required dynamic deviceId, required bool enabled}) Future<CommandResponse>
Toggles the aiming feature for the scanner based on the enabled flag.
setDeleteKey({required dynamic deviceId, required bool enabled}) Future<CommandResponse>
Toggles the delete key feature for the scanner based on the enabled flag.
setIlluminationMode({required dynamic deviceId, required IlluminationMode mode}) Future<CommandResponse>
Sets the illumination mode for the scanner.
setPositiveAndNegativeBarcodesMode({required dynamic deviceId, required PositiveAndNegativeBarcodesMode mode}) Future<CommandResponse>
Sets the mode for reading positive and negative barcodes.
setReadMode({required dynamic deviceId, required ReadMode mode}) Future<CommandResponse>
Sets the read mode for the scanner.
setReadTime({required dynamic deviceId, required ReadTime time}) Future<CommandResponse>
Sets the read time for the scanner.
setTriggerRepeat({required dynamic deviceId, required bool enabled}) Future<CommandResponse>
Toggles the trigger repeat feature for the scanner based on the enabled flag.
toString() String
A string representation of this object.
inherited

Operators

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