IndicatorOptions class abstract

Manages various indicators for the scanner such as buzzer, vibrator, and battery charging indicator.

Allows enabling/disabling these indicators and configuring buzzer and vibrator options.

Constructors

IndicatorOptions()

Properties

hashCode int
The hash code for this object.
no setterinherited
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
setBuzzerDuration({required String deviceId, required BuzzerDuration duration}) Future<CommandResponse>
Sets the buzzer duration on the scanner.
setBuzzerType({required String deviceId, required BuzzerType type}) Future<CommandResponse>
Sets the buzzer type on the scanner.
setBuzzerVolume({required String deviceId, required int volume}) Future<CommandResponse>
Sets the buzzer volume (persistent).
setGoodReadLedDuration({required String deviceId, required GoodReadLedDuration duration}) Future<CommandResponse>
Sets the good read LED duration on the scanner.
setLED({required String deviceId, required LEDColor color}) Future<CommandResponse>
Sets the LED color permanently (persistent).
setVibratorDuration({required String deviceId, required VibratorDuration duration}) Future<CommandResponse>
Sets the vibration duration on the scanner.
testBuzzerVolume({required String deviceId, required int volume}) Future<CommandResponse>
Tests the volume without storing it (non-persistent).
testLED({required String deviceId, required LEDColor color}) Future<CommandResponse>
Tests the LED by setting the color temporarily (non-persistent).
toggleBatteryChargingIndicator({required String deviceId, required bool enabled}) Future<CommandResponse>
Toggles the battery charging indicator on or off based on the enabled flag.
toggleBuzzer({required String deviceId, required bool enabled}) Future<CommandResponse>
Toggles the buzzer on or off based on the enabled flag.
toggleBuzzerOnKeyclick({required String deviceId, required bool enabled}) Future<CommandResponse>
Toggles the buzzer sound when pressing any button on the scanner based on the enabled flag.
toggleVibrateOnScanButtonPress({required String deviceId, required bool enabled}) Future<CommandResponse>
Toggles the vibration when the scan button is pressed based on the enabled flag.
toggleVibrator({required String deviceId, required bool enabled}) Future<CommandResponse>
Toggles the vibrator on or off based on the enabled flag.
toString() String
A string representation of this object.
inherited

Operators

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