QBluetoothHostInfo

The QBluetoothHostInfo class encapsulates the details of a local QBluetooth device. More

Inheritance diagram of PySide6.QtBluetooth.QBluetoothHostInfo

Synopsis

Functions

Detailed Description

This class holds the name and address of a local Bluetooth device.

class PySide6.QtBluetooth.QBluetoothHostInfo

PySide6.QtBluetooth.QBluetoothHostInfo(other)

Parameters

otherPySide6.QtBluetooth.QBluetoothHostInfo

Constructs a null QBluetoothHostInfo object.

Constructs a new QBluetoothHostInfo which is a copy of other.

PySide6.QtBluetooth.QBluetoothHostInfo.address()
Return type

PySide6.QtBluetooth.QBluetoothAddress

Returns the Bluetooth address as a QBluetoothAddress .

See also

setAddress()

PySide6.QtBluetooth.QBluetoothHostInfo.name()
Return type

str

Returns the user visible name of the host info object.

See also

setName()

PySide6.QtBluetooth.QBluetoothHostInfo.__ne__(b)
Parameters

bPySide6.QtBluetooth.QBluetoothHostInfo

Return type

bool

PySide6.QtBluetooth.QBluetoothHostInfo.__eq__(b)
Parameters

bPySide6.QtBluetooth.QBluetoothHostInfo

Return type

bool

PySide6.QtBluetooth.QBluetoothHostInfo.setAddress(address)
Parameters

addressPySide6.QtBluetooth.QBluetoothAddress

Sets the Bluetooth address for this Bluetooth host info object.

See also

address()

PySide6.QtBluetooth.QBluetoothHostInfo.setName(name)
Parameters

name – str

Sets the name of the host info object.

See also

name()