System.Bluetooth.TBluetoothLEManager.GetDeviceInList

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class function GetDeviceInList(const AIdentifier: TBluetoothMacAddress;  const ADeviceList: TBluetoothLEDeviceList): TBluetoothLEDevice; static;

C++

static TBluetoothLEDevice* __fastcall GetDeviceInList(const System::UnicodeString AIdentifier, TBluetoothLEDeviceList* const ADeviceList);

Properties

Type Visibility Source Unit Parent
function protected
System.Bluetooth.pas
System.Bluetooth.hpp
System.Bluetooth TBluetoothLEManager

Description

Checks if a device is in the list of devices and returns the device.

GetDeviceInList accepts the following parameters:

  • AIdentifier: The MAC address of a Bluetooth device.
  • TBluetoothLEDeviceList: A list of Bluetooth devices.

AddDeviceToList calls this function to check if a device is already on the list before adding that device to the list.

See Also