©2009 Google -
Code Home -
Terms of Service -
Privacy Policy -
Site Directory
Google Code offered in:
English -
Español -
日本語 -
한국어 -
Português -
Pусский -
中文(简体) -
中文(繁體)
Public Member Functions | |
| void | setTour (KmlTour tour) |
| void | play () |
| void | pause () |
| void | reset () |
| float | getCurrentTime () |
| void | setCurrentTime (float currentTime) |
| float | getDuration () |
| void GETourPlayer.setTour | ( | KmlTour | tour | ) |
Enters the given tour object, exiting any other currently active tour. This method does not automatically begin playing the tour.
If the argument is null, then any currently active tour is exited and normal globe navigation is enabled.
| void GETourPlayer.play | ( | ) |
Plays the currently active tour.
| void GETourPlayer.pause | ( | ) |
Pauses the currently active tour.
| void GETourPlayer.reset | ( | ) |
Resets the currently active tour, stopping playback and rewinding to the start of the tour.
| float GETourPlayer.getCurrentTime | ( | ) |
The current elapsed playing time of the active tour, in seconds.
| void GETourPlayer.setCurrentTime | ( | float | currentTime | ) |
The current elapsed playing time of the active tour, in seconds.
| float GETourPlayer.getDuration | ( | ) |
The total duration of the active tour, in seconds. If no tour is loaded, the behavior of this method is undefined.