AI-generated Key Takeaways
-
StreetViewPanoramaLocationis an immutable class containing details about the user's current Street View panorama. -
It includes fields for reachable links (
links), the panorama identifier (panoId), and the geographic location (position). -
A constructor is available to create a
StreetViewPanoramaLocationobject using links, position, and panoId. -
Public methods are provided for equality comparison (
equals), hash code generation (hashCode), string representation (toString), and writing the object to a Parcel (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 | |
| 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 final LatLng position
The location 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. Must not be null. |
|---|---|
| position | The location of the current Street View panorama. Must not be
null. |
| panoId | Identification string for the current Street View panorama. Must not be
null. |