System.Bluetooth.TBluetoothDevice

From RAD Studio API Documentation
Jump to: navigation, search

System.Bluetooth.TBluetoothCustomDeviceSystem.TObjectTBluetoothDevice

Delphi

TBluetoothDevice = class(TBluetoothCustomDevice)

C++

class PASCALIMPLEMENTATION TBluetoothDevice : public TBluetoothCustomDevice

Properties

Type Visibility Source Unit Parent
class public
System.Bluetooth.pas
System.Bluetooth.hpp
System.Bluetooth System.Bluetooth

Description

Represents a remote device that supports Classic Bluetooth.

You can use an instance of TBluetoothDevice to obtain a list of services that a remote device provides, and create a socket that you can use to connect to a service of the remote device as a client and exchange data.

Instances of TBluetoothDevice also provide useful information about the remote device, such as whether or not the device is paired with the device that is running your application, the state of the remote device, or the major and complete class (type) of the remote device.

To obtain an instance of TBluetoothDevice, use the GetPairedDevices method or the LastDiscoveredDevices property of a manager.

See Also