ArcGIS Runtime SDK for iOS: AGSKMLTourController Class Reference
ArcGIS Runtime SDK for iOS  100.15
AGSKMLTourController Class Reference

Description

The KML tour controller, which can be used to control the playback of KML tours.

Since
100.5
Inheritance diagram for AGSKMLTourController:
AGSObject

Instance Methods

(void) - pause
 
(void) - play
 
(void) - reset
 

Class Methods

(instancetype) + KMLTourController
 

Properties

NSTimeInterval currentPosition
 
NSTimeInterval totalDuration
 
AGSKMLTourtour
 

Method Documentation

◆ KMLTourController

+ (instancetype) KMLTourController

Initialize a new tour controller

Returns
A new initialized tour controller
Remarks
To monitor the status of the tour, see AGSKMLTour::tourStatus.
Since
100.5

◆ pause

- (void) pause

Pauses the associated tour.

Since
100.5

◆ play

- (void) play

Plays the associated tour, which may include audio content.

Remarks
If the tour is in the paused state, playing will resume where the tour was left off.
Since
100.5

◆ reset

- (void) reset

Resets the associated tour.

Since
100.5

Property Documentation

◆ currentPosition

- (NSTimeInterval) currentPosition
readnonatomicassign

The current playback position of the associated tour.

Remarks
To monitor the status of the tour, see AGSKMLTour::tourStatus.
Since
100.6

◆ totalDuration

- (NSTimeInterval) totalDuration
readnonatomicassign

The total duration of the associated tour. The total duration changes can be monitored using Key-Value Observing (KVO).

Since
100.5

◆ tour

- (AGSKMLTour*) tour
readwritenonatomicstrong

The associated KML tour.

Since
100.5