java.lang.Object
com.esri.arcgisruntime.ogc.kml.KmlNode
com.esri.arcgisruntime.ogc.kml.KmlTour
A KML tour is a type of KmlNode, it is usually associated with an executed playlist command.
- Since:
- 100.4.0
-
Property Summary
Properties inherited from class com.esri.arcgisruntime.ogc.kml.KmlNode
balloonBackgroundColor, uxIconColor
-
Nested Class Summary
Nested classes/interfaces inherited from class com.esri.arcgisruntime.ogc.kml.KmlNode
KmlNode.RefreshStatus
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addStatusChangedListener
(KmlTourStatusChangedListener kmlTourStatusChangedListener) Adds a listener to listen for the KML tour status changes.Gets the current status.boolean
removeStatusChangedListener
(KmlTourStatusChangedListener kmlTourStatusChangedListener) Removes a status changed listenerMethods inherited from class com.esri.arcgisruntime.ogc.kml.KmlNode
addIconUpdatedEventListener, addRefreshStatusChangedListener, balloonBackgroundColorProperty, getAddress, getBalloonBackgroundColor, getBalloonContent, getDescription, getExtent, getHighlightStyle, getId, getName, getParentNode, getRefreshError, getRefreshStatus, getSnippet, getSnippetMaxLines, getStyle, getTimeExtent, getUxIcon, getUxIconColor, getUxIconId, getViewpoint, isHighlighted, isVisible, removeIconUpdatedEventListener, removeRefreshStatusChangedListener, saveAsAsync, setAddress, setDescription, setHighlighted, setHighlightStyle, setId, setName, setSnippet, setSnippetMaxLines, setStyle, setTimeExtent, setViewpoint, setVisible, uxIconColorProperty
-
Method Details
-
getTourStatus
Gets the current status.- Returns:
- the current status
- Since:
- 100.5.0
-
addStatusChangedListener
Adds a listener to listen for the KML tour status changes.- Parameters:
kmlTourStatusChangedListener
- the listener- Throws:
IllegalArgumentException
- if kmlTourStatusChangedListener is null- Since:
- 100.5.0
-
removeStatusChangedListener
public boolean removeStatusChangedListener(KmlTourStatusChangedListener kmlTourStatusChangedListener) Removes a status changed listener- Parameters:
kmlTourStatusChangedListener
- the listener- Returns:
- true, if successful
- Since:
- 100.5.0
-