ScanFilter class

Filter criteria used to discover matching devices during BLE scanning.

Constructors

ScanFilter({List<String> withServices = const [], List<String> withServiceData = const [], List<ManufacturerDataFilter> withManufacturerData = const [], List<String> withNamePrefix = const [], List<ExclusionFilter> exclusionFilters = const [], bool? connectableOnly})

Properties

connectableOnly ↔ bool?
Whether to discover only connectable devices.
getter/setter pair
exclusionFilters ↔ List<ExclusionFilter>
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
withManufacturerData ↔ List<ManufacturerDataFilter>
getter/setter pair
withNamePrefix ↔ List<String>
getter/setter pair
withServiceData ↔ List<String>
Matches devices that advertise Service Data for any of the given service UUIDs.
getter/setter pair
withServices ↔ List<String>
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited