Skip To Content ArcGIS for Developers Sign In Dashboard

ServiceTimeInfo Class


Information about a time-aware map service. More...

Header: #include <ServiceTimeInfo>
Since: Esri::ArcGISRuntime 100.0

Public Functions

ServiceTimeInfo(const ServiceTimeInfo &other)
ServiceTimeInfo(ServiceTimeInfo &&other)
TimeValue defaultInterval() const
bool hasLiveData() const
TimeExtent timeExtent() const
TimeReference timeReference() const
TimeRelation timeRelation() const
ServiceTimeInfo &operator=(const ServiceTimeInfo &other)
ServiceTimeInfo &operator=(ServiceTimeInfo &&other)

Detailed Description

Information about a time-aware map service.

A map service can return information about whether it contains time-aware layers, and time information for specific time-aware layers in the map service. Information comes from the map service in the form of this object. The information from a map service consists of the following:

Member Function Documentation


Default constructor.

ServiceTimeInfo::ServiceTimeInfo(const ServiceTimeInfo &other)

Copy constructor from other ServiceTimeInfo.

ServiceTimeInfo::ServiceTimeInfo(ServiceTimeInfo &&other)

Move constructor from other ServiceTimeInfo.



TimeValue ServiceTimeInfo::defaultInterval() const

Returns the default time interval for the service. This can be used as a time slider's step size.

This function was introduced in Esri::ArcGISRuntime 100.3.

bool ServiceTimeInfo::hasLiveData() const

Returns whether the service contains live data.

TimeExtent ServiceTimeInfo::timeExtent() const

Returns the time extent that includes all of the data in the layer.

This function was introduced in Esri::ArcGISRuntime 100.3.

TimeReference ServiceTimeInfo::timeReference() const

Returns the time reference.

The time reference indicates the time zone and whether daylight saving time is honored. Note that the actual time values used by the server are UTC.

TimeRelation ServiceTimeInfo::timeRelation() const

Returns the value that indicates how the start and end time of the time slider extent are processed.

ServiceTimeInfo &ServiceTimeInfo::operator=(const ServiceTimeInfo &other)

Assignment operator from other ServiceTimeInfo.

ServiceTimeInfo &ServiceTimeInfo::operator=(ServiceTimeInfo &&other)

Equivalency operator to other ServiceTimeInfo.

Feedback on this topic?