ServiceTimeInfo Class

  • ServiceTimeInfo
  • class Esri::ArcGISRuntime::ServiceTimeInfo

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

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

    This class was introduced in Esri::ArcGISRuntime 100.0.

    Public Functions

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

    Detailed Description

    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

    ServiceTimeInfo::ServiceTimeInfo(Esri::ArcGISRuntime::ServiceTimeInfo &&other)

    Move constructor from other ServiceTimeInfo.

    ServiceTimeInfo::ServiceTimeInfo(const Esri::ArcGISRuntime::ServiceTimeInfo &other)

    Copy constructor from other ServiceTimeInfo.

    ServiceTimeInfo::ServiceTimeInfo()

    Default constructor.

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

    Equivalency operator to other ServiceTimeInfo.

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

    Assignment operator from other ServiceTimeInfo.

    ServiceTimeInfo::~ServiceTimeInfo()

    Descructor.

    Esri::ArcGISRuntime::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.

    Esri::ArcGISRuntime::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.

    Esri::ArcGISRuntime::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.

    Esri::ArcGISRuntime::TimeRelation ServiceTimeInfo::timeRelation() const

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

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.