System.Bluetooth.TBluetoothGattServer.DoCreateAdvertiseData

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

Delphi

function DoCreateAdvertiseData: TBluetoothLEAdvertiseData; virtual; abstract;

C++

virtual TBluetoothLEAdvertiseData* __fastcall DoCreateAdvertiseData() = 0 ;

プロパティ

種類 可視性 ソース ユニット
function protected
System.Bluetooth.pas
System.Bluetooth.hpp
System.Bluetooth TBluetoothGattServer


説明

メモ: これは、TBluetoothGattServer のプラットフォーム固有のサブクラスで実装される抽象メソッドです。

実行時プラットフォームに特化した TBluetoothLEAdvertiseData のサブクラスのインスタンスを返します。

例外

例外 メッセージ シナリオ
EBluetoothLEAdvertiseDataException このデバイスでは、ペリフェラル モードをサポートしていません
  • お使いの Android デバイスで Bluetooth が無効になっています。
  • お使いの Android デバイスで Bluetooth LE アドバタイズがサポートされていません。

関連項目