Class: QgsVectorDataProviderTemporalCapabilities

class qgis.core.QgsVectorDataProviderTemporalCapabilities(enabled: bool = False)

Bases: QgsDataProviderTemporalCapabilities

Constructor for QgsVectorDataProviderTemporalCapabilities.

The enabled argument specifies whether the data provider has temporal capabilities.

QgsVectorDataProviderTemporalCapabilities(QgsVectorDataProviderTemporalCapabilities)

Implementation of data provider temporal properties for QgsVectorDataProviders.

Data provider temporal capabilities reflect the temporal capabilities of a QgsDataProvider. Unlike QgsMapLayerTemporalProperties, these settings are not user-configurable, and should only be set by the QgsDataProvider itself.

New in version 3.14.

Parameters

enabled

availableTemporalRange(self)QgsDateTimeRange

Returns the datetime range extent from which temporal data is available from the provider.

Return type

QgsDateTimeRange

setAvailableTemporalRange(self, range: QgsDateTimeRange)

Sets the datetime range extent from which temporal data is available from the provider.

Parameters

range (QgsDateTimeRange) –