StreetViewPanoramaLocation

  • StreetViewPanoramaLocation is 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 StreetViewPanoramaLocation object 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).

public class StreetViewPanoramaLocation extends Object
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
int
String
void
writeToParcel(Parcel out, int flags)

Inherited Method Summary

Fields

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.

Public Methods

public boolean equals (Object o)

public int hashCode ()

public String toString ()

public void writeToParcel (Parcel out, int flags)