KmlTourController is used to play, pause or reset a KML tour. More...
This class was introduced in Esri::ArcGISRuntime 100.6.
|Esri::ArcGISRuntime::KmlTour *||tour() const|
A KML tour may contain audio. KmlTourController manages all audio internally and plays the audio along with the tour.
Member Function Documentation
Signal emitted when the current position changed.
- currentPosition - the new current position in seconds.
Signal emitted when the total duration changed.
- totalDuration - the new total duration in seconds.
Returns the current position of the KML tour, in seconds.
Pauses the associated tour.
Plays the associated tour, which may include audio content.
Resets the associated tour.
Use this to reset the tour to the beginning, which includes resetting any KML content to its original state before the tour was played.
Tour Controller: : set Tour(Esri: : *tour) A r c GISRuntime: : K m l Tour
Sets the KmlTour object that the controller is managing to tour.
Note: you may set
nullptr to manage no KML tour.
See also tour().
Returns the total duration of the KML tour, in seconds.
: *Kml A r c GISRuntime: : K m l Tour Tour Controller: : tour() const
Returns the KmlTour object that the controller is managing.
See also setTour().