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
- PySide6.QtBluetooth.QBluetoothHostInfo.__eq__(b)¶
- Parameters
- Return type
bool
- 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
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.