set abstract method
Sets the feedback preferences for the scanner.
Allows updating the individual feedback settings for LED, buzzer, and vibration. These settings adjust the scanner's feedback behavior accordingly.
led
: Set this totrue
to enable LED feedback, orfalse
to disable it. Ifnull
, the setting remains unchanged.buzzer
: Set this totrue
to enable buzzer feedback, orfalse
to disable it. Ifnull
, the setting remains unchanged.vibration
: Set this totrue
to enable vibration feedback, orfalse
to disable it. Ifnull
, the setting remains unchanged.
Implementation
void set({bool? led, bool? buzzer, bool? vibration});