Class: QgsVectorLayerTemporalContext¶
- class qgis.core.QgsVectorLayerTemporalContext¶
Bases:
sip.wrapper
Encapsulates the context in which a
QgsVectorLayer
’s temporal capabilities will be appliedAdded in version 3.14:
Methods
Returns the associated layer.
Sets the associated
layer
.- layer(self) QgsVectorLayer | None ¶
Returns the associated layer.
See also
- Return type:
Optional[QgsVectorLayer]
- setLayer(self, layer: QgsVectorLayer | None)¶
Sets the associated
layer
.See also
- Parameters:
layer (Optional[QgsVectorLayer])