System.Bluetooth.TBluetoothLEAdvertiseData.DoAddServiceUUID
Delphi
function DoAddServiceUUID(const AServiceUUID: TBluetoothUUID): Boolean; virtual; abstract;
C++
virtual bool __fastcall DoAddServiceUUID(const TBluetoothUUID &AServiceUUID) = 0 ;
プロパティ
| 種類 | 可視性 | ソース | ユニット | 親 |
|---|---|---|---|---|
| function | protected | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothLEAdvertiseData |
説明
- メモ: これは、TBluetoothLEAdvertiseData のプラットフォーム固有のサブクラスで実装される抽象メソッドです。
アドバタイズされるサービス UUID に GATT サービスの指定 UUID を追加してみて、成功すれば True を、成功しなければ False を返します。
例外
| 例外 | メッセージ | シナリオ |
|---|---|---|
| EBluetoothLEAdvertiseDataException | Android 5 (API 21) 以上が必要です |
|