BluetoothServiceDiscoveryAgent
Qt Base Class: QBluetoothServiceDiscoveryAgent
Signature: QBluetoothServiceDiscoveryAgent(self, deviceAdapter: PySide6.QtBluetooth.QBluetoothAddress, parent: Optional[PySide6.QtCore.QObject] = None) -> None
QBluetoothServiceDiscoveryAgent(self, parent: Optional[PySide6.QtCore.QObject] = None) -> None
Base classes
Name | Children | Inherits |
---|---|---|
ObjectMixin prettyqt.core.object |
||
QBluetoothServiceDiscoveryAgent PySide6.QtBluetooth QBluetoothServiceDiscoveryAgent(self, deviceAdapter: PySide6.QtBluetooth.QBluetoothAddress, parent: Optional[PySide6.QtCore.QObject] \= None) -> None |
⋔ Inheritance diagram
graph TD
1473367542432["bluetooth.BluetoothServiceDiscoveryAgent"]
1473299815024["core.ObjectMixin"]
140713234304496["builtins.object"]
1473367224848["QtBluetooth.QBluetoothServiceDiscoveryAgent"]
1473288842240["QtCore.QObject"]
1473291690208["Shiboken.Object"]
1473299815024 --> 1473367542432
140713234304496 --> 1473299815024
1473367224848 --> 1473367542432
1473288842240 --> 1473367224848
1473291690208 --> 1473288842240
140713234304496 --> 1473291690208
🛈 DocStrings
Bases: ObjectMixin
, QBluetoothServiceDiscoveryAgent
Enables you to query for Bluetooth services.
Source code in prettyqt\bluetooth\bluetoothservicediscoveryagent.py
get_discovered_services() -> list[bluetooth.BluetoothServiceInfo]
get_error() -> ErrorStr
set_remote_address(address: str | int | bluetooth.QBluetoothAddress) -> bool
Set remote address.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
address |
str | int | QBluetoothAddress
|
address of the remote |
required |
Source code in prettyqt\bluetooth\bluetoothservicediscoveryagent.py
start_discovery(full: bool = False)
Start bluetooth service discovery.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
full |
bool
|
full discovery instead of minimal discovery. |
False
|
Source code in prettyqt\bluetooth\bluetoothservicediscoveryagent.py
⌗ Property table
Qt Property | Type | Doc |
---|---|---|
objectName |
QString |