Obsolete Members for ServiceTimeInfo

  • ServiceTimeInfo
  • The following members of class ServiceTimeInfo are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

    Public Functions

    (obsolete) int defaultTimeInterval() const
    (obsolete) Esri::ArcGISRuntime::TimeUnit defaultTimeIntervalUnit() const
    (obsolete) int defaultTimeWindow() const

    Member Function Documentation

    int ServiceTimeInfo::defaultTimeInterval() const

    This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

    Returns the default interval that will be used when stepping through the time-aware layer's time extent.

    This function is deprecated in 100.3. Use defaultInterval instead.

    Esri::ArcGISRuntime::TimeUnit ServiceTimeInfo::defaultTimeIntervalUnit() const

    This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

    Returns the type of time unit (such as days) used to specify defaultTimeInterval.

    This function is deprecated in 100.3. Use defaultInterval instead.

    int ServiceTimeInfo::defaultTimeWindow() const

    This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

    Returns the default time window for data returned from this service.

    This value is expressed in the same units as the time interval for the service.

    For example, if your layer contains data representing hurricane paths over a 10-year period but the service default is to show paths of all hurricanes that occurred within a one-year span, the default time window would be one year, but expressed in defaultTimeIntervalUnits.

    This function is deprecated in 100.2.0. A replacement will be provided in an upcoming release.

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