System.Beacon.Components.TCustomBeaconDevice.InitWithGattServer
Delphi
procedure InitWithGattServer(AGattServer: TBluetoothGattServer);
C++
void __fastcall InitWithGattServer(System::Bluetooth::TBluetoothGattServer* AGattServer);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
procedure function |
public | System.Beacon.Components.pas System.Beacon.Components.hpp |
System.Beacon.Components | TCustomBeaconDevice |
説明
TCustomBeaconDevice を既存の TBluetoothGattServer で初期化します。
このメソッドでは、ビーコン デバイスの近接度データのアドバタイズを担当する GATT サーバーで TBeaconAdvertiser のインスタンスを取得します。
AGattServer
は GATT サーバーを指定します。