QBluetoothHostInfo#
The QBluetoothHostInfo
class encapsulates the details of a local QBluetooth device. More…
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
Constructs a null QBluetoothHostInfo
object.
Constructs a new QBluetoothHostInfo
which is a copy of other
.
- PySide6.QtBluetooth.QBluetoothHostInfo.address()#
- Return type
Returns the Bluetooth address as a QBluetoothAddress
.
See also
- PySide6.QtBluetooth.QBluetoothHostInfo.name()#
- Return type
str
Returns the user visible name of the host info object.
See also
- PySide6.QtBluetooth.QBluetoothHostInfo.__ne__(b)#
- Parameters
- Return type
bool
Returns true
if a
and b
are not equal, otherwise false
.
- PySide6.QtBluetooth.QBluetoothHostInfo.__eq__(b)#
- Parameters
- Return type
bool
Returns true
if a
and b
are equal, otherwise false
.
- PySide6.QtBluetooth.QBluetoothHostInfo.setAddress(address)#
- Parameters
address –
PySide6.QtBluetooth.QBluetoothAddress
Sets the Bluetooth address
for this Bluetooth host info object.
See also
- PySide6.QtBluetooth.QBluetoothHostInfo.setName(name)#
- Parameters
name – str
Sets the name
of the host info object.
See also