Page Summary
-
StreetViewPanoramaLocationis an immutable class providing details about the user's current Street View panorama. -
It includes the panorama ID (
panoId), geographical location (position), and links to neighboring panoramas (links). -
Developers can use this class to access and display information about the current Street View scene.
-
A constructor is provided to create a
StreetViewPanoramaLocationinstance using the links, position, and panorama ID.
implements Parcelable
An immutable class that contains details of the user's current Street View panorama
Inherited Constant Summary
Field Summary
| public final StreetViewPanoramaLink[] | links | Array of StreetViewPanoramaLink able to be reached from the current position |
| public final String | panoId | The panorama ID of the current Street View panorama |
| public final LatLng | position | The location of the current Street View panorama |
Public Constructor Summary
|
StreetViewPanoramaLocation(StreetViewPanoramaLink[] links, LatLng position, String panoId)
Constructs a StreetViewPanoramaLocation.
|
Public Method Summary
| boolean |
equals(Object o)
|
| int |
hashCode()
|
| String |
toString()
|
Inherited Method Summary
Fields
public final StreetViewPanoramaLink[] links
Array of StreetViewPanoramaLink able to be reached from the current position
public final String panoId
The panorama ID of the current Street View panorama
Public Constructors
public StreetViewPanoramaLocation (StreetViewPanoramaLink[] links, LatLng position, String panoId)
Constructs a StreetViewPanoramaLocation.
Parameters
| links | List of StreetViewPanoramaLink reachable from the current position. |
|---|---|
| position | The location of the current Street View panorama. |
| panoId | Identification string for the current Street View panorama. |
Public Methods
public boolean equals (Object o)
Parameters
| o |
|---|