System.Beacon.TBeaconAdvertiser.GetBeaconAdvertiser

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class function GetBeaconAdvertiser(const AGattServer: TBluetoothGattServer = nil): TBeaconAdvertiser;

C++

__classmethod TBeaconAdvertiser* __fastcall GetBeaconAdvertiser(System::Bluetooth::TBluetoothGattServer* const AGattServer = (System::Bluetooth::TBluetoothGattServer*)(0x0));

Properties

Type Visibility Source Unit Parent
function public
System.Beacon.pas
System.Beacon.hpp
System.Beacon TBeaconAdvertiser

Description

Gets the instance of TBeaconAdvertiser that advertises the proximity data of the current beacon device.

This method is platform-specific. It returns the appropiate TBeaconAdvertiser for each platform.

You can use AGattServer in order to specify the GATT server in charge of advertising the proximity data of the beacon device.

GetBeaconAdvertiser calls System.Beacon.TBeaconAdvertiser.GetInstance.

See Also