toggleBuzzerOnKeyclick method

Future<CommandResponse> toggleBuzzerOnKeyclick({
  1. required dynamic deviceId,
  2. required bool enabled,
})

Toggles the buzzer sound when pressing any button on the scanner based on the enabled flag.

deviceId - The identifier of the target device. enabled - A boolean indicating whether to enable or disable the buzzer on key press.

Implementation

Future<CommandResponse> toggleBuzzerOnKeyclick(
    {required deviceId, required bool enabled}) async {
  return sendCommand(
      deviceId, enabled ? buzzerOnKeyclickOn : buzzerOnKeyclickOff);
}