StreetViewPanorama.OnStreetViewPanoramaCameraChangeListener

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

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

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

  • The onStreetViewPanoramaCameraChange method is always executed on the main thread, ensuring thread safety for UI updates.

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