System.Bluetooth.TBluetoothManager

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

System.TObjectTBluetoothManager

Delphi

TBluetoothManager = class

C++

class PASCALIMPLEMENTATION TBluetoothManager : public System::TObject

プロパティ

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


説明

クラシック Bluetooth による通信の主要クラスです。

マネージャはクラシック Bluetooth 接続における主要コンポーネントです。マネージャはリモート デバイスを検出でき、アプリケーションの動作デバイスを検出可能にするように要求でき、リモート デバイスのサービスを公開でき、TBluetoothAdapterCurrentAdapter)やTBluetoothDeviceLastDiscoveredDevicesGetPairedDevices)などの、さらなる機能を提供する他のクラスのインスタンスにアクセス可能にすることもできます。

アプリケーションで必要な TBluetoothManager は 1 つだけなので、TBluetoothManager のインスタンスを手動で作成する必要はありません。代わりに、Current を呼び出して TBluetoothManager のグローバル インスタンスを取得し、TBluetoothManagerシングルトンとして使用することができます。


TBluetoothManager には、クラスレベルのメソッド、プロパティ、イベントがいくつか用意されています。 たとえば、SocketTimeOut を使用して、クラシック Bluetooth によるデータ転送の所要時間の上限を定義したり、GetKnownServiceName を使用して、既知のクラシック Bluetooth サービスの識別子からそのサービスの表示名を取得することができます。

関連項目