System.Bluetooth.Components.TBluetoothLE.DoServiceAdded
Delphi
procedure DoServiceAdded(const Sender: TObject; const AService: TBluetoothGattService;
const AGattStatus: TBluetoothGattStatus);
C++
void __fastcall DoServiceAdded(System::TObject* const Sender, System::Bluetooth::TBluetoothGattService* const AService, const System::Bluetooth::TBluetoothGattStatus AGattStatus);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
procedure function |
protected | System.Bluetooth.Components.pas System.Bluetooth.Components.hpp |
System.Bluetooth.Components | TBluetoothLE |
説明
OnServiceAdded イベントのディスパッチャです。
DoServiceAdded が呼び出されるのは、お使いのコンポーネントの GATT サーバー上の AddService の呼び出しの結果コンポーネントの GATT サーバーにサーバーが追加された後です。
このイベント ディスパッチャは次のパラメータを受け取ります。
Sender
はお使いのコンポーネントの GATT サーバーです。AService
は、お使いのコンポーネントの GATT サーバーに追加されたサービスです。AGattStatus
は追加操作の終了ステータスです。