KmlRefreshMode enum

The list of KML refresh modes.

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

Inheritance
Available extensions

Values

onChange → const KmlRefreshMode

(default) Refresh when the file is loaded and whenever the Link parameters change.

onInterval → const KmlRefreshMode

Refresh every n milliseconds, where n is specified by refresh interval. If no refresh interval is set, the default value is 4000 milliseconds.

onExpire → const KmlRefreshMode

Refresh the file when the expiration time is reached. If a fetched file has a NetworkLinkControl, 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.

Properties

coreValue → RT_KMLRefreshMode
Convert to internal value.
no setter
hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

values → const List<KmlRefreshMode>
A constant List of the values in this enum, in order of their declaration.