BluetoothServiceDiscoveryAgent
Base classes
| Name | Children | Inherits |
|---|---|---|
| ObjectMixin prettyqt.core.object |
||
| QBluetoothServiceDiscoveryAgent PySide6.QtBluetooth QBluetoothServiceDiscoveryAgent(self, deviceAdapter: PySide6.QtBluetooth.QBluetoothAddress, /, parent: PySide6.QtCore.QObject | None \= None) -> None |
⋔ Inheritance diagram
graph TD
3830655166["bluetooth.BluetoothServiceDiscoveryAgent"]
3227531497["core.ObjectMixin"]
2751680898["builtins.object"]
2281463550["QtBluetooth.QBluetoothServiceDiscoveryAgent"]
3984060476["QtCore.QObject"]
37984305["Shiboken.Object"]
3227531497 --> 3830655166
2751680898 --> 3227531497
2281463550 --> 3830655166
3984060476 --> 2281463550
37984305 --> 3984060476
2751680898 --> 37984305
🛈 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
|