OnStreetViewPanoramaReadyCallback
Stay organized with collections
Save and categorize content based on your preferences.
Public Methods
public
abstract
void
onStreetViewPanoramaReady
(StreetViewPanorama panorama)
Called when the Street View panorama is ready to be used.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-03 UTC.
[null,null,["Last updated 2025-09-03 UTC."],[[["\u003cp\u003e\u003ccode\u003eOnStreetViewPanoramaReadyCallback\u003c/code\u003e is an interface used to signal when a Street View panorama is ready for interaction within your Android application.\u003c/p\u003e\n"],["\u003cp\u003eThis callback provides a \u003ccode\u003eStreetViewPanorama\u003c/code\u003e object, allowing developers to control and manipulate the Street View experience.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eonStreetViewPanoramaReady\u003c/code\u003e method is triggered when the panorama is ready, but it requires Google Play services to be installed on the device.\u003c/p\u003e\n"],["\u003cp\u003eIf Google Play services isn't installed, the user is prompted to install it, and the callback is triggered only after installation and returning to the app.\u003c/p\u003e\n"]]],[],null,["public interface **OnStreetViewPanoramaReadyCallback** \nCallback interface for when the Street View panorama is ready to be used.\n\nOnce an instance of this interface is set on a [StreetViewPanoramaFragment](/maps/documentation/android-sdk/reference/com/google/android/libraries/maps/StreetViewPanoramaFragment) or [StreetViewPanoramaView](/maps/documentation/android-sdk/reference/com/google/android/libraries/maps/StreetViewPanoramaView) object, the [onStreetViewPanoramaReady(StreetViewPanorama)](/maps/documentation/android-sdk/reference/com/google/android/libraries/maps/OnStreetViewPanoramaReadyCallback#onStreetViewPanoramaReady(com.google.android.libraries.maps.StreetViewPanorama)) method\nis triggered when the panorama is ready to be used and provides a non-null instance of [StreetViewPanorama](/maps/documentation/android-sdk/reference/com/google/android/libraries/maps/StreetViewPanorama).\n\nIf Google Play services is not installed on the device, the user will be prompted to install\nit, and the [onStreetViewPanoramaReady(StreetViewPanorama)](/maps/documentation/android-sdk/reference/com/google/android/libraries/maps/OnStreetViewPanoramaReadyCallback#onStreetViewPanoramaReady(com.google.android.libraries.maps.StreetViewPanorama)) method will only be triggered\nwhen the user has installed it and returned to the app. \n\nPublic Method Summary\n\n|---------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract void | [onStreetViewPanoramaReady](/maps/documentation/android-sdk/reference/com/google/android/libraries/maps/OnStreetViewPanoramaReadyCallback#onStreetViewPanoramaReady(com.google.android.libraries.maps.StreetViewPanorama))([StreetViewPanorama](/maps/documentation/android-sdk/reference/com/google/android/libraries/maps/StreetViewPanorama) panorama) Called when the Street View panorama is ready to be used. |\n\nPublic Methods \n\npublic abstract void\n**onStreetViewPanoramaReady**\n([StreetViewPanorama](/maps/documentation/android-sdk/reference/com/google/android/libraries/maps/StreetViewPanorama) panorama) \nCalled when the Street View panorama is ready to be used. \n\nParameters\n\n| panorama | A non-null instance of a StreetViewPanorama associated with the [StreetViewPanoramaFragment](/maps/documentation/android-sdk/reference/com/google/android/libraries/maps/StreetViewPanoramaFragment) or [StreetViewPanoramaView](/maps/documentation/android-sdk/reference/com/google/android/libraries/maps/StreetViewPanoramaView) that defines the callback. |\n|----------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|"]]