System.Bluetooth.TServiceDataRawData.create

From RAD Studio API Documentation
Jump to: navigation, search

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 and AValue 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.

See Also