ServiceTimeInfo Class

  • ServiceTimeInfo
  • class Esri::ArcGISRuntime::ServiceTimeInfo

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

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

    Public Functions

    ServiceTimeInfo(const Esri::ArcGISRuntime::ServiceTimeInfo &other)
    ServiceTimeInfo(Esri::ArcGISRuntime::ServiceTimeInfo &&other)
    Esri::ArcGISRuntime::TimeValue defaultInterval() const
    bool hasLiveData() const
    Esri::ArcGISRuntime::TimeExtent timeExtent() const
    Esri::ArcGISRuntime::TimeReference timeReference() const
    Esri::ArcGISRuntime::TimeRelation timeRelation() const
    Esri::ArcGISRuntime::TimeValue timeWindow() const
    bool operator!=(const Esri::ArcGISRuntime::ServiceTimeInfo &other) const
    Esri::ArcGISRuntime::ServiceTimeInfo &operator=(const Esri::ArcGISRuntime::ServiceTimeInfo &other)
    Esri::ArcGISRuntime::ServiceTimeInfo &operator=(Esri::ArcGISRuntime::ServiceTimeInfo &&other)
    bool operator==(const Esri::ArcGISRuntime::ServiceTimeInfo &other) 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


    Default constructor.

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

    Copy constructor from other ServiceTimeInfo.

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

    Move constructor from other ServiceTimeInfo.



    [since Esri::ArcGISRuntime 100.3] 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.

    [since Esri::ArcGISRuntime 100.3] 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.

    [since Esri::ArcGISRuntime 200.1] Esri::ArcGISRuntime::TimeValue ServiceTimeInfo::timeWindow() const

    Returns the default time window for the service to use for a time slider.

    This function was introduced in Esri::ArcGISRuntime 200.1.

    [since Esri::ArcGISRuntime 200.2] bool ServiceTimeInfo::operator!=(const Esri::ArcGISRuntime::ServiceTimeInfo &other) const

    Inequality operator. Returns true if this object and other are not equal.

    This function was introduced in Esri::ArcGISRuntime 200.2.

    See also ServiceTimeInfo::operator==.

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

    Assignment operator from other ServiceTimeInfo.

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

    Move operator from other ServiceTimeInfo.

    [since Esri::ArcGISRuntime 200.1] bool ServiceTimeInfo::operator==(const Esri::ArcGISRuntime::ServiceTimeInfo &other) const

    Equivalency operator.

    Returns true if this object and other are equivalent.

    This function was introduced in Esri::ArcGISRuntime 200.1.

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