System.Bluetooth.Components.TBluetoothLE.DiscoverServices

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

Delphi

function DiscoverServices(const ADevice: TBluetoothLEDevice): Boolean;

C++

bool __fastcall DiscoverServices(System::Bluetooth::TBluetoothLEDevice* const ADevice);

プロパティ

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


説明

指定されたリモート Bluetooth LE デバイスから提供されるサービスのほか、それらサービスのキャラクタリスティックおよびディスクリプタを検出します。

サービスの検出が終了したら、OnEndDiscoverServices イベントが発生します。検出が成功した場合、指定されたデバイスの Services プロパティを使って、リモート サービスを取得することができます。

DiscoverServices は、検出が正常に開始された場合は True を、何らかの原因で検出が開始されなかった場合は False を返します。

プラットフォーム サポート

プラットフォーム Bluetooth LE
クライアント サーバー

Windows

8 以上

OS X

10.7 以上

10.9 以上

iOS

5 以上

6 以上

Android

4.3 以上

関連項目