public class

SupportStreetViewPanoramaFragment

extends Fragment
java.lang.Object
   ↳ android.support.v4.app.Fragment
     ↳ com.amazon.geo.mapsv2.SupportStreetViewPanoramaFragment

Class Overview

Street views are not currently supported in the Amazon Maps API. This class provides stubs to ensure that developers can make minimal code changes when porting their apps from other platforms.

Do not attempt to inflate a SupportStreetViewPanoramaFragment without first checking if the street view API is available.

See StreetViewPanoramaFragment for details about determining whether street view is available.

Summary

Public Constructors
SupportStreetViewPanoramaFragment()
This class can not be instantiated.
Public Methods
final StreetViewPanorama getStreetViewPanorama()
This method is deprecated. This method is deprecated as of Amazon Maps V2.2. Please use getStreetViewPanoramaAsync(OnStreetViewPanoramaReadyCallback) instead. The callback will guarantee a non-null StreetViewPanorama instance.
void getStreetViewPanoramaAsync(OnStreetViewPanoramaReadyCallback callback)
This method is not implemented.
static SupportStreetViewPanoramaFragment newInstance()
This class can not be instantiated.
static SupportStreetViewPanoramaFragment newInstance(StreetViewPanoramaOptions options)
This class can not be instantiated.
[Expand]
Inherited Methods
From class android.support.v4.app.Fragment
From class java.lang.Object
From interface android.content.ComponentCallbacks
From interface android.view.View.OnCreateContextMenuListener

Public Constructors

public SupportStreetViewPanoramaFragment ()

This class can not be instantiated.

Throws
UnsupportedOperationException The street view API is not supported.

Public Methods

public final StreetViewPanorama getStreetViewPanorama ()

This method is deprecated.
This method is deprecated as of Amazon Maps V2.2. Please use getStreetViewPanoramaAsync(OnStreetViewPanoramaReadyCallback) instead. The callback will guarantee a non-null StreetViewPanorama instance.

This method is not implemented.

Returns
  • null as this is not supported.

public void getStreetViewPanoramaAsync (OnStreetViewPanoramaReadyCallback callback)

This method is not implemented. Gets a non-null StreetViewPanorama that will be ready after the callback returns. This was added in Amazon Maps V2.2.

Parameters
callback This will be called on the main thread after the StreetViewPanorama is ready.

public static SupportStreetViewPanoramaFragment newInstance ()

This class can not be instantiated.

Throws
UnsupportedOperationException The street view API is not supported.

public static SupportStreetViewPanoramaFragment newInstance (StreetViewPanoramaOptions options)

This class can not be instantiated.

Throws
UnsupportedOperationException The street view API is not supported.