Class

com.scalakml.kml

NetworkLinkControl

Related Doc: package kml

Permalink

case class NetworkLinkControl(minRefreshPeriod: Option[Double] = None, maxSessionLength: Option[Double] = None, cookie: Option[String] = None, message: Option[String] = None, linkName: Option[String] = None, linkDescription: Option[String] = None, linkSnippet: Option[Snippet] = None, expires: Option[String] = None, update: Option[Update] = None, abstractView: Option[AbstractView] = None, networkLinkControlSimpleExtensionGroup: Seq[Any] = Nil, networkLinkControlObjectExtensionGroup: Seq[Any] = Nil) extends Product with Serializable

Controls the behavior of files fetched by a <NetworkLink>.

minRefreshPeriod

Specified in seconds, <minRefreshPeriod> is the minimum allowed time between fetches of the file. This parameter allows servers to throttle fetches of a particular file and to tailor refresh rates to the expected rate of change to the data. For example, a user might set a link refresh to 5 seconds, but you could set your minimum refresh period to 3600 to limit refresh updates to once every hour.

maxSessionLength

Specified in seconds, <maxSessionLength> is the maximum amount of time for which the client NetworkLink can remain connected. The default value of -1 indicates not to terminate the session explicitly.

cookie

Use this element to append a string to the URL query on the next refresh of the network link. You can use this data in your script to provide more intelligent handling on the server side, including version querying and conditional file delivery.

message

You can deliver a pop-up message, such as usage guidelines for your network link. The message appears when the network link is first loaded into Google Earth, or when it is changed in the network link control.

linkName

You can control the name of the network link from the server, so that changes made to the name on the client side are overridden by the server.

linkDescription

You can control the description of the network link from the server, so that changes made to the description on the client side are overridden by the server.

linkSnippet

You can control the snippet for the network link from the server, so that changes made to the snippet on the client side are overridden by the server. <linkSnippet> has a maxLines attribute, an integer that specifies the maximum number of lines to display.

expires

You can specify a date/time at which the link should be refreshed. This specification takes effect only if the <refreshMode> in <Link> has a value of onExpire. See <refreshMode>

update

with <Update>, you can specify any number of Change, Create, and Delete tags for a .kml file or .kmz archive that has previously been loaded with a network link. See <Update>.

abstractView

a LookAt or a Camera

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NetworkLinkControl
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NetworkLinkControl(minRefreshPeriod: Double, maxSessionLength: Double, expires: String, update: Update)

    Permalink
  2. new NetworkLinkControl(minRefreshPeriod: Double, maxSessionLength: Double)

    Permalink
  3. new NetworkLinkControl(minRefreshPeriod: Option[Double] = None, maxSessionLength: Option[Double] = None, cookie: Option[String] = None, message: Option[String] = None, linkName: Option[String] = None, linkDescription: Option[String] = None, linkSnippet: Option[Snippet] = None, expires: Option[String] = None, update: Option[Update] = None, abstractView: Option[AbstractView] = None, networkLinkControlSimpleExtensionGroup: Seq[Any] = Nil, networkLinkControlObjectExtensionGroup: Seq[Any] = Nil)

    Permalink

    minRefreshPeriod

    Specified in seconds, <minRefreshPeriod> is the minimum allowed time between fetches of the file. This parameter allows servers to throttle fetches of a particular file and to tailor refresh rates to the expected rate of change to the data. For example, a user might set a link refresh to 5 seconds, but you could set your minimum refresh period to 3600 to limit refresh updates to once every hour.

    maxSessionLength

    Specified in seconds, <maxSessionLength> is the maximum amount of time for which the client NetworkLink can remain connected. The default value of -1 indicates not to terminate the session explicitly.

    cookie

    Use this element to append a string to the URL query on the next refresh of the network link. You can use this data in your script to provide more intelligent handling on the server side, including version querying and conditional file delivery.

    message

    You can deliver a pop-up message, such as usage guidelines for your network link. The message appears when the network link is first loaded into Google Earth, or when it is changed in the network link control.

    linkName

    You can control the name of the network link from the server, so that changes made to the name on the client side are overridden by the server.

    linkDescription

    You can control the description of the network link from the server, so that changes made to the description on the client side are overridden by the server.

    linkSnippet

    You can control the snippet for the network link from the server, so that changes made to the snippet on the client side are overridden by the server. <linkSnippet> has a maxLines attribute, an integer that specifies the maximum number of lines to display.

    expires

    You can specify a date/time at which the link should be refreshed. This specification takes effect only if the <refreshMode> in <Link> has a value of onExpire. See <refreshMode>

    update

    with <Update>, you can specify any number of Change, Create, and Delete tags for a .kml file or .kmz archive that has previously been loaded with a network link. See <Update>.

    abstractView

    a LookAt or a Camera

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val abstractView: Option[AbstractView]

    Permalink

    a LookAt or a Camera

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val cookie: Option[String]

    Permalink

    Use this element to append a string to the URL query on the next refresh of the network link.

    Use this element to append a string to the URL query on the next refresh of the network link. You can use this data in your script to provide more intelligent handling on the server side, including version querying and conditional file delivery.

  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. val expires: Option[String]

    Permalink

    You can specify a date/time at which the link should be refreshed.

    You can specify a date/time at which the link should be refreshed. This specification takes effect only if the <refreshMode> in <Link> has a value of onExpire. See <refreshMode>

  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. val linkDescription: Option[String]

    Permalink

    You can control the description of the network link from the server, so that changes made to the description on the client side are overridden by the server.

  14. val linkName: Option[String]

    Permalink

    You can control the name of the network link from the server, so that changes made to the name on the client side are overridden by the server.

  15. val linkSnippet: Option[Snippet]

    Permalink

    You can control the snippet for the network link from the server, so that changes made to the snippet on the client side are overridden by the server.

    You can control the snippet for the network link from the server, so that changes made to the snippet on the client side are overridden by the server. <linkSnippet> has a maxLines attribute, an integer that specifies the maximum number of lines to display.

  16. val maxSessionLength: Option[Double]

    Permalink

    Specified in seconds, <maxSessionLength> is the maximum amount of time for which the client NetworkLink can remain connected.

    Specified in seconds, <maxSessionLength> is the maximum amount of time for which the client NetworkLink can remain connected. The default value of -1 indicates not to terminate the session explicitly.

  17. val message: Option[String]

    Permalink

    You can deliver a pop-up message, such as usage guidelines for your network link.

    You can deliver a pop-up message, such as usage guidelines for your network link. The message appears when the network link is first loaded into Google Earth, or when it is changed in the network link control.

  18. val minRefreshPeriod: Option[Double]

    Permalink

    Specified in seconds, <minRefreshPeriod> is the minimum allowed time between fetches of the file.

    Specified in seconds, <minRefreshPeriod> is the minimum allowed time between fetches of the file. This parameter allows servers to throttle fetches of a particular file and to tailor refresh rates to the expected rate of change to the data. For example, a user might set a link refresh to 5 seconds, but you could set your minimum refresh period to 3600 to limit refresh updates to once every hour.

  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. val networkLinkControlObjectExtensionGroup: Seq[Any]

    Permalink
  21. val networkLinkControlSimpleExtensionGroup: Seq[Any]

    Permalink
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. val update: Option[Update]

    Permalink

    with <Update>, you can specify any number of Change, Create, and Delete tags for a .kml file or .kmz archive that has previously been loaded with a network link.

    with <Update>, you can specify any number of Change, Create, and Delete tags for a .kml file or .kmz archive that has previously been loaded with a network link. See <Update>.

  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped