QBluetoothAddress¶
The QBluetoothAddress
class assigns an address to the Bluetooth device. More…
Synopsis¶
Functions¶
Detailed Description¶
This class holds a Bluetooth address in a platform- and protocol-independent manner.
- class PySide6.QtBluetooth.QBluetoothAddress¶
PySide6.QtBluetooth.QBluetoothAddress(other)
PySide6.QtBluetooth.QBluetoothAddress(address)
PySide6.QtBluetooth.QBluetoothAddress(address)
- Parameters
address – str
Constructs an null Bluetooth Address.
Constructs a new Bluetooth address which is a copy of other
.
Constructs a new Bluetooth address and assigns address
to it.
The format of address
can be either XX:XX:XX:XX:XX:XX or XXXXXXXXXXXX, where X is a hexadecimal digit. Case is not important.
Constructs a new Bluetooth address and assigns address
to it.
- PySide6.QtBluetooth.QBluetoothAddress.clear()¶
Sets the Bluetooth address to 00:00:00:00:00:00.
- PySide6.QtBluetooth.QBluetoothAddress.isNull()¶
- Return type
bool
Returns true if the Bluetooth address is null, otherwise returns false.
- PySide6.QtBluetooth.QBluetoothAddress.__ne__(b)¶
- Parameters
- Return type
bool
- PySide6.QtBluetooth.QBluetoothAddress.__lt__(b)¶
- Parameters
- Return type
bool
- PySide6.QtBluetooth.QBluetoothAddress.__eq__(b)¶
- Parameters
- Return type
bool
- PySide6.QtBluetooth.QBluetoothAddress.toString()¶
- Return type
str
Returns the Bluetooth address as a string of the form, XX:XX:XX:XX:XX:XX.
- PySide6.QtBluetooth.QBluetoothAddress.toUInt64()¶
- Return type
int
Returns this Bluetooth address as a quint64.