setReadTime method

Future<CommandResponse> setReadTime({
  1. required dynamic deviceId,
  2. required ReadTime time,
})

Sets the read time for the scanner.

deviceId - The identifier of the target device. time - The duration for reading, specified by ReadTime.

Returns a CommandResponse indicating the success or failure of the operation.

Implementation

Future<CommandResponse> setReadTime(
    {required deviceId, required ReadTime time}) async {
  return await sendCommand(deviceId, _readTimeCommands[time]!);
}