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 manipulate the user's current Street View location within their application.
-
It provides methods for equality checks (
equals), hash code generation (hashCode), string representation (toString), and parceling (writeToParcel).
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()
|
| void |
writeToParcel(Parcel out, int flags)
|
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 |
|---|
public int hashCode ()
public String toString ()
public void writeToParcel (Parcel out, int flags)
Parameters
| out | |
|---|---|
| flags |