public class

StreetViewPanoramaView

extends FrameLayout
java.lang.Object
   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ android.widget.FrameLayout
         ↳ com.amazon.geo.mapsv2.StreetViewPanoramaView

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 StreetViewPanoramaView without first checking if the street view API is available.

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

Summary

[Expand]
Inherited Constants
From class android.view.ViewGroup
From class android.view.View
[Expand]
Inherited Fields
From class android.view.View
Public Constructors
StreetViewPanoramaView(Context context)
This class can not be instantiated.
StreetViewPanoramaView(Context context, AttributeSet attrs)
This class can not be instantiated.
StreetViewPanoramaView(Context context, AttributeSet attrs, int defStyle)
This class can not be instantiated.
StreetViewPanoramaView(Context context, StreetViewPanoramaOptions options)
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.
final void onCreate(Bundle savedInstanceState)
final void onDestroy()
final void onLowMemory()
final void onPause()
final void onResume()
final void onSaveInstanceState(Bundle outState)
[Expand]
Inherited Methods
From class android.widget.FrameLayout
From class android.view.ViewGroup
From class android.view.View
From class java.lang.Object
From interface android.graphics.drawable.Drawable.Callback
From interface android.view.KeyEvent.Callback
From interface android.view.ViewManager
From interface android.view.ViewParent
From interface android.view.accessibility.AccessibilityEventSource

Public Constructors

public StreetViewPanoramaView (Context context)

This class can not be instantiated.

Throws
UnsupportedOperationException The street view API is not supported.

public StreetViewPanoramaView (Context context, AttributeSet attrs)

This class can not be instantiated.

Throws
UnsupportedOperationException The street view API is not supported.

public StreetViewPanoramaView (Context context, AttributeSet attrs, int defStyle)

This class can not be instantiated.

Throws
UnsupportedOperationException The street view API is not supported.

public StreetViewPanoramaView (Context context, StreetViewPanoramaOptions options)

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 final void onCreate (Bundle savedInstanceState)

public final void onDestroy ()

public final void onLowMemory ()

public final void onPause ()

public final void onResume ()

public final void onSaveInstanceState (Bundle outState)