ScannerSettings class
A class representing the scanner settings for Opticon BLE scanners.
This class provides access to various settings, including enabling specific codes, configuring scan options, and managing formatting options.
It is recommended that you access this class via the OptiConnect
class
and avoid direct initialization.
- Annotations
Constructors
- ScannerSettings(Symbology symbology, CodeSpecific codeSpecific, ReadOptions readOptions, IndicatorOptions inidicator, Formatting formatting, ConnectionPool connectionPool, CommandExecutorsManager _commandExecutorsManager, SettingsCompressor _scannerSettingsCompressor, AppLogger _appLogger)
- Injects the dependencies.
Properties
- codeSpecific → CodeSpecific
-
Settings specific to the configuration of individual barcode symbologies.
final
- connectionPool → ConnectionPool
-
Settings to manage the connection pool settings of scanners.
final
- formatting → Formatting
-
Options for customizing the formatting of scanned barcode data.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- inidicator → IndicatorOptions
-
Options for configuring scanner indicators like buzzer, LEDs and vibration.
final
- readOptions → ReadOptions
-
Settings related to scanning options such as trigger modes.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- symbology → Symbology
-
Settings related to enabling specific barcode symbologies.
final
Methods
-
executeCommand(
String deviceId, ScannerCommand command) → Future< CommandResponse> - Sends a command to the connected BLE device.
-
getSettings(
String deviceId) → Future< List< CommandData> > - Retrieves the current scanner settings from the device as a list of CommandData.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resetSettings(
String deviceId) → Future< bool> - Resets the scanner settings to the default.
-
sendCommand(
String deviceId, String command, {List< String> parameters = const [], bool sendFeedback = true}) → Future<CommandResponse> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited