System.Bluetooth.TBluetoothDevice
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
- System.Bluetooth.TBluetoothLEDevice
- System.Bluetooth.TBluetoothCustomDevice.Address
- System.Bluetooth.TBluetoothCustomDevice.BluetoothType
- System.Bluetooth.TBluetoothDevice.ClassDevice
- System.Bluetooth.TBluetoothDevice.ClassDeviceMajor
- System.Bluetooth.TBluetoothDevice.ClassDeviceMajorString
- System.Bluetooth.TBluetoothDevice.ClassDeviceString
- System.Bluetooth.TBluetoothCustomDevice.DeviceName
- System.Bluetooth.TBluetoothDevice.IsPaired
- System.Bluetooth.TBluetoothDevice.LastServiceList
- System.Bluetooth.TBluetoothDevice.State