System.Bluetooth.TBluetoothLEAdvertiseData.AddServiceUUID

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

procedure AddServiceUUID(const AServiceUUID: TBluetoothUUID);

C++

void __fastcall AddServiceUUID(const GUID &AServiceUUID);

プロパティ

種類 可視性 ソース ユニット
procedure
function
public
System.Bluetooth.pas
System.Bluetooth.hpp
System.Bluetooth TBluetoothLEAdvertiseData


説明

アドバタイズされるサービス UUIDGATT サービスの指定 UUID を追加します。

例外

例外 メッセージ シナリオ
EBluetoothLEAdvertiseDataException Android 5 (API 21) 以上が必要です
  • お使いのデバイスに搭載されている Android バージョンで Bluetooth LE アドバタイズがサポートされていません。

関連項目