ScanSettings constructor

ScanSettings({
  1. ScanMode? scanMode,
  2. int? reportDelayMillis,
  3. bool? allowDuplicates,
})

Constructs a ScanSettings instance with the specified scan settings.

scanMode determines the mode used for scanning. reportDelayMillis determines the delay for reporting results. allowDuplicates specifies whether to include duplicate advertisements.

Implementation

ScanSettings({
  this.scanMode,
  this.reportDelayMillis,
  this.allowDuplicates,
});