System.Bluetooth.TBluetoothGattServer.DoCreateAdvertiseData
Delphi
function DoCreateAdvertiseData: TBluetoothLEAdvertiseData; virtual; abstract;
C++
virtual TBluetoothLEAdvertiseData* __fastcall DoCreateAdvertiseData() = 0 ;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | protected | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothGattServer |
Description
- Note: This is an abstract method that platform-specific subclasses of TBluetoothGattServer implement.
Returns an instance of a platform-specific subclass of TBluetoothLEAdvertiseData for the run-time platform.
Exceptions
| Exception | Message | Scenarios |
|---|---|---|
| EBluetoothLEAdvertiseDataException | The device does not support peripheral mode |
|