Page Summary
-
StreetViewPanorama.OnStreetViewPanoramaChangeListeneris an interface for listening when the Street View panorama loads a new panorama. -
The
onStreetViewPanoramaChangemethod is called after an animated transition or when a developer sets a position and the first panorama has rendered. -
The
onStreetViewPanoramaChangemethod receives aStreetViewPanoramaLocationobject indicating the new location, which can benullfor an invalid panorama. -
Implementations of the
onStreetViewPanoramaChangemethod are always invoked on the main thread.
A listener for when the Street View panorama loads a new panorama
Public Method Summary
| abstract void |
onStreetViewPanoramaChange(StreetViewPanoramaLocation
location)
The StreetViewPanorama performs an animated transition from one location to
another when the user performs a manual navigation action.
|
Public Methods
public abstract void onStreetViewPanoramaChange (StreetViewPanoramaLocation location)
The StreetViewPanorama performs an animated transition from one location to another when the user performs a manual navigation action. This callback is called when the transition animation has occurred and the rendering of the first panorama has occurred. This callback also occurs when the developer sets a position and the rendering of the first panorama has occurred. It is possible that not all the panoramas have loaded when this callback is activated. Implementations of this method are always invoked on the main thread.
Parameters
| location | Location the StreetViewPanorama is changed to. null if it is an
invalid panorama |
|---|