System.Bluetooth.TBluetoothLEManager.GetDeviceInList
Delphi
class function GetDeviceInList(const AIdentifier: TBluetoothMacAddress; const ADeviceList: TBluetoothLEDeviceList): TBluetoothLEDevice; static;
C++
static TBluetoothLEDevice* __fastcall GetDeviceInList(const System::UnicodeString AIdentifier, TBluetoothLEDeviceList* const ADeviceList);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | protected | System.Bluetooth.pas System.Bluetooth.hpp |
System.Bluetooth | TBluetoothLEManager |
説明
デバイスのリスト内に、デバイスがあるかどうかをチェックし、そのデバイスを返します。
GetDeviceInList は、次のパラメータを取ります:
AddDeviceToList はこの関数を呼び出して、リスト内にすでにデバイスがあるかチェックしてから、デバイスをリストに追加します。