ScanFilter constructor
ScanFilter({})
Constructs a ScanFilter instance with specified filter parameters.
You can specify one or more criteria that scanned devices must match. If all parameters are left null
, the
filter will not apply any restrictions.
deviceName
filters devices based on their advertised name.
serviceUuids
filters devices based on their advertised service UUIDs.
manufacturerId
filters devices based on their manufacturer ID.
manufacturerData
filters devices based on their manufacturer-specific data.
Implementation
ScanFilter({
this.deviceName,
this.serviceUuids,
this.manufacturerId,
this.manufacturerData,
});