System.Bluetooth.TServiceDataRawData.create
Delphi
constructor create(const AKey: TBluetoothUUID; const AValue: TBytes); overload;
constructor create(const AServiceData: TPair<TBluetoothUUID,TBytes>); overload;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | System.Bluetooth.pas | System.Bluetooth | TServiceDataRawData |
Description
Creates an instance of TServiceDataRawData.
You can use different parameters:
- The first overloaded method accepts
AKey
andAValue
to specify the UUID of the service and the data that advertises. - The second overloaded method accepts
AServiceData
as a pair that includes both the UUID of the service and the data that advertises.