OnStreetViewPanoramaReadyCallback | 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
  - Analyze
  - Tools & Reference
  - Developer Stories

## Results

Loading...
public interface

# OnStreetViewPanoramaReadyCallback

com.google.android.gms.maps.OnStreetViewPanoramaReadyCallback

## Class Overview

Callback interface for when the Street View panorama is ready to be used.

Once an instance of this interface is set on a `StreetViewPanoramaFragment` or `StreetViewPanoramaView` object, the `onStreetViewPanoramaReady(StreetViewPanorama)` method is triggered when the panorama is ready to be used and provides a non-null instance of `StreetViewPanorama`.

If Google Play services is not installed on the device, the user will be prompted to install it, and the `onStreetViewPanoramaReady(StreetViewPanorama)` method will only be triggered when the user has installed it and returned to the app.

## Summary

Public Methods
abstract void | onStreetViewPanoramaReady(StreetViewPanorama panorama) Called when the Street View panorama is ready to be used.

## Public Methods

#### public abstract void onStreetViewPanoramaReady (StreetViewPanorama panorama)

Called when the Street View panorama is ready to be used.

##### Parameters

panorama | A non-null instance of a StreetViewPanorama associated with the `StreetViewPanoramaFragment` or `StreetViewPanoramaView` that defines the callback.