AI-generated Key Takeaways
-
StreetViewPanorama.OnStreetViewPanoramaChangeListeneris an interface used to listen for changes in the Street View panorama. -
The
onStreetViewPanoramaChangemethod is called when the Street View panorama loads a new panorama, either due to user navigation or programmatic changes. -
This method provides the new
StreetViewPanoramaLocation, which can be null if the panorama is invalid. -
The callback is triggered after the transition animation and initial rendering of the new panorama, but not necessarily after all panoramas have loaded.
-
onStreetViewPanoramaChangeis always executed 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
|
|---|