- class AddressInfo¶
The
AddressInfo
defines the elements of a white list. More…Synopsis¶
Methods¶
def
__init__()
def
__ne__()
def
__eq__()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description¶
A list of
AddressInfo
instances is passed tosetWhiteList()
. White lists are used to restrict the devices which have the permission to interact with the peripheral. The permitted type of interaction is defined byFilterPolicy
.See also
- PySide6.QtBluetooth.QLowEnergyAdvertisingParameters.AddressInfo.address¶
- PySide6.QtBluetooth.QLowEnergyAdvertisingParameters.AddressInfo.type¶
- __init__()¶
Constructs a default constructed
AddressInfo
instance.By default the AddressInfo::type member is set to
PublicAddress
and the AddressInfo::address member has a null address.- __init__(addr, t)
- Parameters:
addr –
QBluetoothAddress
Constructs a new
AddressInfo
instance.addr
represents the Bluetooth address of the remote device andtype
the nature of the address.- __ne__(b)¶
- Parameters:
b –
AddressInfo
- Return type:
bool
Returns
true
ifa
andb
are not equal with respect to their public state, otherwise returnsfalse
.- __eq__(b)¶
- Parameters:
b –
AddressInfo
- Return type:
bool
Returns
true
ifa
andb
are equal with respect to their public state, otherwise returnsfalse
.