System.Bluetooth.TBluetoothGattServer.DoCreateAdvertiseData

From RAD Studio API Documentation
Jump to: navigation, search

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
  • Bluetooth is turned off on your Android device.
  • Your Android device does not support Bluetooth LE advertising.

See Also