OnStreetViewPanoramaReadyCallback
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Riepilogo del metodo pubblico
Metodi pubblici
Public
abstract
void
onStreetViewPanoramaReady
(StreetViewPanorama)
Richiamato quando la panoramica Street View è pronta per essere utilizzata.
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-09-05 UTC.
[null,null,["Ultimo aggiornamento 2025-09-05 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|----------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|"]]