Class: QgsSensorAbstractMetadata¶
- class qgis.core.QgsSensorAbstractMetadata¶
Bases:
sip.wrapper
Stores metadata about a sensor class.
Note
In C++ you can use
QgsSensorAbstractMetadata
convenience class.New in version 3.32.
QgsSensorAbstractMetadata(type: str, visibleName: str) Constructor for
QgsSensorAbstractMetadata
with the specified classtype
.QgsSensorAbstractMetadata(
QgsSensorAbstractMetadata
)Methods
Creates a sensor of this class.
Returns the unique type code for the sensor class.
Returns a translated, user visible name for the sensor class.
- createSensor(self, parent: QObject) QgsAbstractSensor ¶
Creates a sensor of this class.
- Parameters:
parent (QObject) –
- Return type:
- type(self) str ¶
Returns the unique type code for the sensor class.
- Return type:
str
- visibleName(self) str ¶
Returns a translated, user visible name for the sensor class.
- Return type:
str