RequestFilterBuilder class
A helper to help create a BluetoothScanFilter.
A device needs to match all the items in this filter before the browser will allow it.
Constructors
-
RequestFilterBuilder({String? name, String? namePrefix, List<
String> ? services, List<ManufacturerDataFilterBuilder> ? manufacturerData, List<ServiceDataFilterBuilder> ? serviceData}) -
name
is the name of the device. The name must match exactly for the device to be accepted.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toScanFilter(
) → BluetoothScanFilter - convert to an actual BluetoothScanFilter Javascript object for the web api call.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited