StreetViewPanorama.OnStreetViewPanoramaCameraChangeListener

  • StreetViewPanorama.OnStreetViewPanoramaCameraChangeListener is an interface used to listen for changes in the Street View panorama's camera.

  • The onStreetViewPanoramaCameraChange method is called whenever the camera's position is altered, either by the user or programmatically.

  • This method provides the updated StreetViewPanoramaCamera object, reflecting the new camera position.

  • Implementations of onStreetViewPanoramaCameraChange are guaranteed to be executed on the main thread.

public static interface StreetViewPanorama.OnStreetViewPanoramaCameraChangeListener

A listener for when the StreetViewPanoramaCamera changes

Public Method Summary

abstract void
onStreetViewPanoramaCameraChange(StreetViewPanoramaCamera camera)
Called when the user makes changes to the camera on the panorama or if the camera is changed programmatically.

Public Methods

public abstract void onStreetViewPanoramaCameraChange (StreetViewPanoramaCamera camera)

Called when the user makes changes to the camera on the panorama or if the camera is changed programmatically. Implementations of this method are always invoked on the main thread.

Parameters
camera The position the camera has changed to