System.Bluetooth.TBluetoothManager.GetPairedDevices
Delphi
function GetPairedDevices(const AnAdapter: TBluetoothAdapter): TBluetoothDeviceList; overload;
function GetPairedDevices: TBluetoothDeviceList; overload;
C++
TBluetoothDeviceList* __fastcall GetPairedDevices(TBluetoothAdapter* const AnAdapter)/* overload */;
TBluetoothDeviceList* __fastcall GetPairedDevices()/* overload */;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothManager |
説明
こちらのアプリケーションが動作しているデバイスとペアになっているリモート デバイスのリストを返します。
GetPairedDevices にパラメータを渡さなければ、GetPairedDevices は、自分のアダプタの、ペアになったリモート デバイスのリストを返します。GetPairedDevices に TBluetoothAdapter のインスタンスを渡すと、GetPairedDevices は、そのアダプタの、ペアになったリモート デバイスのリストを返します。