java.lang.Object | ||
↳ | android.app.Fragment | |
↳ | com.amazon.geo.mapsv2.StreetViewPanoramaFragment |
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 StreetViewPanoramaFragment
without
first verifying whether the street view API is available.
It is recommended that you check whether the street view API is supported before attempting to use any of the APIs or displaying any related UI to the user:
boolean isStreetViewSupported = true;
try {
Class.forName("com.amazon.geo.mapsv2.util.AmazonMapsRuntimeUtil");
// The Amazon API is present
isStreetViewSupported = false;
} catch (ClassNotFoundException e) {
}
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This class can not be instantiated.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
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.
| |||||||||||
This class can not be instantiated.
| |||||||||||
This class can not be instantiated.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
This class can not be instantiated.
UnsupportedOperationException | The street view API is not supported. |
---|
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.
null
as this is not supported.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.
callback | This will be called on the main thread after the StreetViewPanorama is ready. |
---|
This class can not be instantiated.
UnsupportedOperationException | The street view API is not supported. |
---|
This class can not be instantiated.
UnsupportedOperationException | The street view API is not supported. |
---|