public interface

PanoramaApi

com.google.android.gms.panorama.PanoramaApi

Class Overview

The main entry point for interacting with Panorama viewer. This class provides methods for obtaining an Intent to view a Panorama.

Summary

Nested Classes
interface PanoramaApi.PanoramaResult Result interface for loading panorama info. 
Public Methods
abstract PendingResult<PanoramaApi.PanoramaResult> loadPanoramaInfo(GoogleApiClient client, Uri uri)
Loads information about a panorama.
abstract PendingResult<PanoramaApi.PanoramaResult> loadPanoramaInfoAndGrantAccess(GoogleApiClient client, Uri uri)
Loads information about a panorama from a content provider.

Public Methods

public abstract PendingResult<PanoramaApi.PanoramaResult> loadPanoramaInfo (GoogleApiClient client, Uri uri)

Loads information about a panorama.

Parameters
uri the URI of the panorama to load info about. May be a file:, content:, or android_resource: scheme.

public abstract PendingResult<PanoramaApi.PanoramaResult> loadPanoramaInfoAndGrantAccess (GoogleApiClient client, Uri uri)

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 FLAG_GRANT_READ_URI_PERMISSION set so the viewer has access.

Parameters
uri the URI of the panorama to load info about. May only be a content: scheme.