System.Bluetooth.TBluetoothLEScanFilter.ServiceDataMask
Delphi
property ServiceDataMask: TBytes read FServiceDataMask write SetServiceDataMask;
C++
__property System::DynamicArray<System::Byte> ServiceDataMask = {read=FServiceDataMask, write=SetServiceDataMask};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothLEScanFilter |
Description
Represents a mask to select specific bytes from ServiceData.
ServiceDataMask allows to specify which subfields of ServiceData are selected in order to filter devices by.
- Set to 1 the positions of ServiceDataMask that correspond with the values in ServiceData you want to filter devices by.
- Set to 0 the rest of positions of ServiceDataMask so that the corresponding values in ServiceData are not used to filter.