Class: QgsVectorLayerTemporalContext

class qgis.core.QgsVectorLayerTemporalContext

Bases: sip.wrapper

Encapsulates the context in which a QgsVectorLayer’s temporal capabilities will be applied

Added in version 3.14:

Methods

layer

Returns the associated layer.

setLayer

Sets the associated layer.

layer(self) QgsVectorLayer | None

Returns the associated layer.

See also

setLayer()

Return type:

Optional[QgsVectorLayer]

setLayer(self, layer: QgsVectorLayer | None)

Sets the associated layer.

See also

layer()

Parameters:

layer (Optional[QgsVectorLayer])