System.Beacon.Components.TCustomBeaconDevice.InitWithGattServer
Delphi
procedure InitWithGattServer(AGattServer: TBluetoothGattServer);
C++
void __fastcall InitWithGattServer(System::Bluetooth::TBluetoothGattServer* AGattServer);
Propriétés
| Type | Visibilité | Source | Unité | Parent |
|---|---|---|---|---|
procedure function |
public | System.Beacon.Components.pas System.Beacon.Components.hpp |
System.Beacon.Components | TCustomBeaconDevice |
Description
Initialise TCustomBeaconDevice avec un TBluetoothGattServer existant.
Cette méthode obtient une instance de TBeaconAdvertiser avec le serveur GATT qui est en charge de la publication des données de proximité d'un périphérique beacon.
AGattServer spécifie le serveur GATT.