setBuzzerDuration method
Future<CommandResponse>
setBuzzerDuration({
- required dynamic deviceId,
- required BuzzerDuration duration,
Sets the buzzer duration on the scanner.
deviceId
- The identifier of the target device.
duration
- The duration of the buzzer, specified by the BuzzerDuration enum.
Returns a CommandResponse indicating the success or failure of the operation.
Implementation
Future<CommandResponse> setBuzzerDuration(
{required deviceId, required BuzzerDuration duration}) async {
return sendCommand(deviceId, _buzzerDurationCommands[duration]!);
}