Hide

PanoramaApi

public interface PanoramaApi
com.google.android.gms.panorama.PanoramaApi

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 PanoramaApi.PanoramaResult Result interface for loading panorama info. 

Public Method Summary

abstract PendingResult<PanoramaApi.PanoramaResult>
abstract PendingResult<PanoramaApi.PanoramaResult>

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.