BluetoothManufacturerDataFilter class

The js object for Bluetooth scan filters. At least one of the filter must be set, the rest can be left undefined.

See:

Annotations
  • @JS()
  • @anonymous

Constructors

BluetoothManufacturerDataFilter({int? companyIdentifier, Object? dataPrefix, Object? mask})
The constructor of the request filter.
factory

Properties

companyIdentifier int?
is a 16 bit identifier of the company that either made the device, or made the bluetooth chip that the device uses.
no setter
dataPrefix Object?
is a uint8 (or byte) array of the first n bytes of the manufacturer data of the device. For example if you have the UUID D273346A-... then the prefix of D273 should match
no setter
hashCode int
The hash code for this object.
no setterinherited
mask Object?
is a uint8 (or byte) array of the bits that should be matched against. The manufacturer data will be bit wise and (&) as well as the dataPrefix to the same mask. These two will then be compared to be equal.
no setter
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
toString() String
A string representation of this object.
inherited

Operators

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