Page Summary
-
StreetViewPanorama.OnStreetViewPanoramaLongClickListeneris an interface to handle long-press gestures on a Street View panorama. -
The
onStreetViewPanoramaLongClickmethod is called when the user long-presses on the panorama, providing the orientation of the point pressed. -
This callback is triggered only if no panorama overlays handle the long-press gesture.
-
Listeners are invoked on the main thread, ensuring UI updates can be performed safely.
Callback interface for when the user long presses on the panorama.
Listeners will be invoked on the main thread
Public Method Summary
| abstract void |
onStreetViewPanoramaLongClick(StreetViewPanoramaOrientation orientation)
Called when the user makes a long-press gesture on the panorama, but only if none of the
overlays of the panorama handled the gesture.
|
Public Methods
public abstract void onStreetViewPanoramaLongClick (StreetViewPanoramaOrientation orientation)
Called when the user makes a long-press gesture on the panorama, but only if none of the overlays of the panorama handled the gesture. Implementations of this method are always invoked on the main thread.
Parameters
| orientation | The tilt and bearing values corresponding to the point on the screen where the user long-pressed. These values have an absolute value within a specific panorama, and are independent of the current orientation of the camera. |
|---|