Skip To Content ArcGIS for Developers Sign In Dashboard

KmlRefreshMode Class

(Esri::ArcGISRuntime::KmlRefreshMode)

Enumerates types of KML refresh mode. More...

Since: Esri::ArcGISRuntime 100.6

Detailed Description

Enumerates types of KML refresh mode.

Defines the time-based refresh behavior of a KML network link.

The KmlRefreshMode can be one of:

ValueDescription
KmlRefreshMode::OnChange (0)Refresh when the file is loaded and whenever the Link parameters change.
KmlRefreshMode::OnExpire (1)Refresh every n milliseconds. Note, if refresh interval is 0 when the mode is set to OnInterval, it will automatically update the refresh interval to 4000 milliseconds.
KmlRefreshMode::OnInterval (2)Refresh the file when the expiration time is reached. If a fetched file has a network link control, the "expires" time takes precedence over expiration times specified in HTTP headers. If no "expires" time is specified, the HTTP max-age header is used (if present). If max-age is not present, the Expires HTTP header is used (if present). Currently this is treated the same as if the mode were onChange.

Feedback on this topic?