OnStreetViewPanoramaReadyCallback
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-31。
[null,null,["最后更新时间 (UTC):2025-08-31。"],[[["\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|----------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|"]]