PanoramaApi
Stay organized with collections
Save and categorize content based on your preferences.
This interface is deprecated.
The play-services-panorama
library is deprecated and will be turned down on 30
October 2023. There is no replacement.
The main entry point for interacting with Panorama viewer. This class provides methods for
obtaining an Intent to view a Panorama.
Nested Class Summary
interface
This interface is deprecated. The play-services-panorama
library is deprecated and will be turned down on
30 October 2023. There is no replacement.
Public Methods
This method is deprecated.
The play-services-panorama
library is deprecated and will be turned down on
30 October 2023. There is no replacement.
Loads information about a panorama.
Parameters
This method is deprecated.
The play-services-panorama
library is deprecated and will be turned down on
30 October 2023. There is no replacement.
Loads information about a panorama from a content provider. This method will also
explicitly grant and revoke access to the URI while the load is happening so images in
content providers may be inspected without giving permission to an entire content
provider. The returned viewer intent will also have the Intent.FLAG_GRANT_READ_URI_PERMISSION
set so the viewer has access.
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 2024-10-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["\u003cp\u003eThe \u003ccode\u003ePanoramaApi\u003c/code\u003e interface and the \u003ccode\u003eplay-services-panorama\u003c/code\u003e library are deprecated and will be shut down on October 30, 2023, without a replacement.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePanoramaApi\u003c/code\u003e was the primary interface for interacting with the Panorama viewer, providing methods to obtain an Intent for viewing panoramas.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eloadPanoramaInfo\u003c/code\u003e and \u003ccode\u003eloadPanoramaInfoAndGrantAccess\u003c/code\u003e methods, now deprecated, were used to load information about a panorama, with the latter also handling URI access permissions.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers should be aware that all functionalities related to \u003ccode\u003ePanoramaApi\u003c/code\u003e will cease to function after the shutdown date.\u003c/p\u003e\n"]]],["The `PanoramaApi` interface, part of the deprecated `play-services-panorama` library, is being shut down on October 30, 2023, with no replacement. It provided methods to interact with the Panorama viewer. The interface offered two key actions: `loadPanoramaInfo`, which loaded panorama information from a specified URI, and `loadPanoramaInfoAndGrantAccess`, which additionally managed URI access permissions for content providers. Both methods take a `GoogleApiClient` and a `Uri` as parameters.\n"],null,["# PanoramaApi\n\npublic interface **PanoramaApi** \n**This interface is deprecated.** \n\nThe `play-services-panorama` library is deprecated and will be turned down on 30\nOctober 2023. There is no replacement.\n\nThe main entry point for interacting with Panorama viewer. This class provides methods for\nobtaining an Intent to view a Panorama. \n\n### Nested Class Summary\n\n|-----------|---|---|---------------------------------------------------------------------------------------------------------------------------------------------------------|\n| interface | [PanoramaApi.PanoramaResult](/android/reference/com/google/android/gms/panorama/PanoramaApi.PanoramaResult) || *This interface is deprecated. The `play-services-panorama` library is deprecated and will be turned down on 30 October 2023. There is no replacement.* |\n\n### Public Method Summary\n\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract [PendingResult](/android/reference/com/google/android/gms/common/api/PendingResult)\\\u003c[PanoramaApi.PanoramaResult](/android/reference/com/google/android/gms/panorama/PanoramaApi.PanoramaResult)\\\u003e | [loadPanoramaInfo](/android/reference/com/google/android/gms/panorama/PanoramaApi#loadPanoramaInfo(com.google.android.gms.common.api.GoogleApiClient,%20android.net.Uri))([GoogleApiClient](/android/reference/com/google/android/gms/common/api/GoogleApiClient) client, [Uri](//developer.android.com/reference/android/net/Uri.html) uri) *This method is deprecated. The `play-services-panorama` library is deprecated and will be turned down on 30 October 2023. There is no replacement.* |\n| abstract [PendingResult](/android/reference/com/google/android/gms/common/api/PendingResult)\\\u003c[PanoramaApi.PanoramaResult](/android/reference/com/google/android/gms/panorama/PanoramaApi.PanoramaResult)\\\u003e | [loadPanoramaInfoAndGrantAccess](/android/reference/com/google/android/gms/panorama/PanoramaApi#loadPanoramaInfoAndGrantAccess(com.google.android.gms.common.api.GoogleApiClient,%20android.net.Uri))([GoogleApiClient](/android/reference/com/google/android/gms/common/api/GoogleApiClient) client, [Uri](//developer.android.com/reference/android/net/Uri.html) uri) *This method is deprecated. The `play-services-panorama` library is deprecated and will be turned down on 30 October 2023. There is no replacement.* |\n\nPublic Methods\n--------------\n\n#### public abstract [PendingResult](/android/reference/com/google/android/gms/common/api/PendingResult)\\\u003c[PanoramaApi.PanoramaResult](/android/reference/com/google/android/gms/panorama/PanoramaApi.PanoramaResult)\\\u003e\n**loadPanoramaInfo** ([GoogleApiClient](/android/reference/com/google/android/gms/common/api/GoogleApiClient) client, [Uri](//developer.android.com/reference/android/net/Uri.html) uri)\n\n**This method is deprecated.** \n\nThe `play-services-panorama` library is deprecated and will be turned down on\n30 October 2023. There is no replacement. \nLoads information about a panorama. \n\n##### Parameters\n\n| client | |\n| uri | the URI of the panorama to load info about. May be a file:, content:, or android_resource: scheme. |\n|--------|----------------------------------------------------------------------------------------------------|\n\n#### public abstract [PendingResult](/android/reference/com/google/android/gms/common/api/PendingResult)\\\u003c[PanoramaApi.PanoramaResult](/android/reference/com/google/android/gms/panorama/PanoramaApi.PanoramaResult)\\\u003e\n**loadPanoramaInfoAndGrantAccess** ([GoogleApiClient](/android/reference/com/google/android/gms/common/api/GoogleApiClient) client, [Uri](//developer.android.com/reference/android/net/Uri.html) uri)\n\n**This method is deprecated.** \n\nThe `play-services-panorama` library is deprecated and will be turned down on\n30 October 2023. There is no replacement. \nLoads information about a panorama from a content provider. This method will also\nexplicitly grant and revoke access to the URI while the load is happening so images in\ncontent providers may be inspected without giving permission to an entire content\nprovider. The returned viewer intent will also have the [Intent.FLAG_GRANT_READ_URI_PERMISSION](//developer.android.com/reference/android/content/Intent.html#FLAG_GRANT_READ_URI_PERMISSION) set so the viewer has access."]]