Class: QgsDataProviderTemporalCapabilities

class qgis.core.QgsDataProviderTemporalCapabilities

Bases: sip.wrapper

Base class for handling properties relating to a data provider’s temporal capabilities.

New in version 3.14.

QgsDataProviderTemporalCapabilities(available: bool = False) Constructor for QgsDataProviderTemporalCapabilities.

The available argument specifies whether the data provider has temporal capabilities. Set to True to indicate that the provider has temporal capabilities available for use.

QgsDataProviderTemporalCapabilities(QgsDataProviderTemporalCapabilities)

Methods

hasTemporalCapabilities

Returns True if the provider has temporal capabilities available.

setHasTemporalCapabilities

Sets whether the provider has temporal capabilities available.

hasTemporalCapabilities(self)bool

Returns True if the provider has temporal capabilities available.

Return type

bool

setHasTemporalCapabilities(self, available: bool)

Sets whether the provider has temporal capabilities available.

Set available to True to indicate that the provider has temporal capabilities available for use.

Parameters

available (bool) –