StartScanOptions constructor

StartScanOptions({
  1. required String format,
  2. int? maxReadSize,
})

Implementation

StartScanOptions({
  /// Specifies the MIME type to return scanned data in.
  required String format,

  /// If a non-zero value is specified, limits the maximum scanned bytes
  /// returned in a single [readScanData] response to that value.  The
  /// smallest allowed value is 32768 (32 KB).  If this property is not
  /// specified, the size of a returned chunk may be as large as the entire
  /// scanned image.
  int? maxReadSize,
}) : _wrapped = $js.StartScanOptions(
        format: format,
        maxReadSize: maxReadSize,
      );