StreetViewPanorama.OnStreetViewPanoramaClickListener | Android Developers

Quicknav Quicknav
Links

- Google Play Developer Console
- Android Developers Blog
- About Android

Android Sites

- Android.com
- Android Developers
- Android Open Source Project

Language
close

- - About
  - Wear
  - TV
  - Auto
- - Get Started
  - Devices
  - Style
  - Patterns
  - Building Blocks
  - Downloads
  - Videos
- - Training
  - API Guides
  - Reference
  - Tools
  - Google Services
  - Samples
- - Google Play
  - Essentials
  - Get Users
  - Engage & Retain
  - Monetize
  - Tools & Reference
  - Developer Stories

## Results

Loading...
public static interface

# StreetViewPanorama.OnStreetViewPanoramaClickListener

com.google.android.gms.maps.StreetViewPanorama.OnStreetViewPanoramaClickListener

## Class Overview

Callback interface for when the user taps on the panorama.

Listeners will be invoked on the main thread

## Summary

Public Methods
abstract void | onStreetViewPanoramaClick(StreetViewPanoramaOrientation orientation) Called when the user makes a tap gesture on the panorama, but only if none of the overlays of the map handled the gesture.

## Public Methods

#### public abstract void onStreetViewPanoramaClick (StreetViewPanoramaOrientation orientation)

Called when the user makes a tap gesture on the panorama, but only if none of the overlays of the map 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 tapped. These values have an absolute value within a specific panorama, and are independent of the current orientation of the camera.