ServiceDataFilterBuilder class

A filter to match on service data. This can be used to define the services that the device should have before being able to communicate with it.

Annotations
  • @Deprecated("These filters are not yet stable, so may change or not work at all")

Constructors

ServiceDataFilterBuilder({String? service, Uint8List? dataPrefix, Uint8List? mask})
Create a new service filter.

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
toServiceDataFilter() BluetoothServiceDataFilter
Convert the filter to an actual BluetoothServiceDataFilter for the RequestOptions.
toString() String
A string representation of this object.
inherited

Operators

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