Class: QgsUdpSocketSensor¶
A UDP socket sensor class.
Added in version 3.32.
Class Hierarchy¶
Base classes¶
An abstract class for QIODevice-based sensors. |
|
An abstract base class for sensors. |
|
- class qgis.core.QgsUdpSocketSensor[source]¶
Bases:
QgsIODeviceSensor- __init__(parent: QObject | None = None)
Constructor for a UDP socket sensor, bound to the specified
parent.- Parameters:
parent (Optional[QObject] = None)
- static create(parent: QObject | None) QgsUdpSocketSensor | None[source]¶
Returns a new UDP socket sensor.
The caller takes responsibility for deleting the returned object.
- Parameters:
parent (Optional[QObject])
- Return type:
Optional[QgsUdpSocketSensor]