StreetViewSource
Stay organized with collections
Save and categorize content based on your preferences.
Inherited Constant Summary
From interface android.os.Parcelable
int |
CONTENTS_FILE_DESCRIPTOR |
|
int |
PARCELABLE_WRITE_RETURN_VALUE |
|
Field Summary
public static final StreetViewSource
|
DEFAULT
|
Default: Uses the default sources of Street
View, searches will not be limited to specific sources. |
public static final StreetViewSource
|
OUTDOOR
|
Limits Street View searches to outdoor
collections. |
Inherited Method Summary
From class java.lang.Object
Object
|
clone()
|
boolean |
|
void |
finalize()
|
final Class<?>
|
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String
|
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
From interface android.os.Parcelable
abstract int |
describeContents()
|
abstract void |
writeToParcel( Parcel arg0,
int arg1)
|
Fields
public static final
StreetViewSource DEFAULT
Default: Uses the default sources of Street View, searches will not be limited to
specific sources.
public static final
StreetViewSource OUTDOOR
Limits Street View searches to outdoor collections. Indoor collections are not
included in search results. Note also that the search only returns panoramas where it's
possible to determine whether they're indoors or outdoors. For example, photo spheres
are not returned because it's unknown whether they are indoors or outdoors.
Public Methods
public boolean equals (Object o)
public void writeToParcel (Parcel out, int
flags)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[[["\u003cp\u003e\u003ccode\u003eStreetViewSource\u003c/code\u003e helps to define the source of Street View imagery, allowing you to limit searches to specific sources like outdoor or default.\u003c/p\u003e\n"],["\u003cp\u003eIt provides options like \u003ccode\u003eDEFAULT\u003c/code\u003e for using all sources and \u003ccode\u003eOUTDOOR\u003c/code\u003e for restricting searches to outdoor panoramas.\u003c/p\u003e\n"],["\u003cp\u003eYou can utilize \u003ccode\u003eStreetViewSource\u003c/code\u003e with methods like \u003ccode\u003eStreetViewPanorama.setPosition()\u003c/code\u003e and \u003ccode\u003eStreetViewPanoramaOptions.position()\u003c/code\u003e to refine your Street View searches.\u003c/p\u003e\n"]]],[],null,["# StreetViewSource\n\npublic final class **StreetViewSource** extends [Object](//developer.android.com/reference/java/lang/Object.html) \nimplements [Parcelable](//developer.android.com/reference/android/os/Parcelable.html) \nIdentifiers to limit Street View searches to selected sources. See [StreetViewPanorama.setPosition(LatLng, StreetViewSource)](/android/reference/com/google/android/gms/maps/StreetViewPanorama#setPosition(com.google.android.gms.maps.model.LatLng,%20com.google.android.gms.maps.model.StreetViewSource)), [StreetViewPanorama.setPosition(LatLng, int, StreetViewSource)](/android/reference/com/google/android/gms/maps/StreetViewPanorama#setPosition(com.google.android.gms.maps.model.LatLng,%20int,%20com.google.android.gms.maps.model.StreetViewSource)), [StreetViewPanoramaOptions.position(LatLng, Integer, StreetViewSource)](/android/reference/com/google/android/gms/maps/StreetViewPanoramaOptions#position(com.google.android.gms.maps.model.LatLng,%20java.lang.Integer,%20com.google.android.gms.maps.model.StreetViewSource)) or\n[StreetViewPanoramaOptions.position(LatLng, StreetViewSource)](/android/reference/com/google/android/gms/maps/StreetViewPanoramaOptions#position(com.google.android.gms.maps.model.LatLng,%20com.google.android.gms.maps.model.StreetViewSource)). \n\n### Inherited Constant Summary\n\nFrom interface android.os.Parcelable \n\n|-----|-------------------------------|---|\n| int | CONTENTS_FILE_DESCRIPTOR | |\n| int | PARCELABLE_WRITE_RETURN_VALUE | |\n\n### Field Summary\n\n|---------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------|\n| public static final [StreetViewSource](/android/reference/com/google/android/gms/maps/model/StreetViewSource) | [DEFAULT](/android/reference/com/google/android/gms/maps/model/StreetViewSource#DEFAULT) | Default: Uses the default sources of Street View, searches will not be limited to specific sources. |\n| public static final [StreetViewSource](/android/reference/com/google/android/gms/maps/model/StreetViewSource) | [OUTDOOR](/android/reference/com/google/android/gms/maps/model/StreetViewSource#OUTDOOR) | Limits Street View searches to outdoor collections. |\n\n### Public Method Summary\n\n|-------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| boolean | [equals](/android/reference/com/google/android/gms/maps/model/StreetViewSource#equals(java.lang.Object))([Object](//developer.android.com/reference/java/lang/Object.html) o) |\n| int | [hashCode](/android/reference/com/google/android/gms/maps/model/StreetViewSource#hashCode())() |\n| [String](//developer.android.com/reference/java/lang/String.html) | [toString](/android/reference/com/google/android/gms/maps/model/StreetViewSource#toString())() |\n| void | [writeToParcel](/android/reference/com/google/android/gms/maps/model/StreetViewSource#writeToParcel(android.os.Parcel,%20int))([Parcel](//developer.android.com/reference/android/os/Parcel.html) out, int flags) |\n\n### Inherited Method Summary\n\nFrom class java.lang.Object \n\n|----------------------------------------------------------------------------|--------------------------------------------------------------------------------|\n| [Object](//developer.android.com/reference/java/lang/Object.html) | clone() |\n| boolean | equals([Object](//developer.android.com/reference/java/lang/Object.html) arg0) |\n| void | finalize() |\n| final [Class](//developer.android.com/reference/java/lang/Class.html)\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| [String](//developer.android.com/reference/java/lang/String.html) | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nFrom interface android.os.Parcelable \n\n|---------------|--------------------------------------------------------------------------------------------------|\n| abstract int | describeContents() |\n| abstract void | writeToParcel([Parcel](//developer.android.com/reference/android/os/Parcel.html) arg0, int arg1) |\n\nFields\n------\n\n#### public static final StreetViewSource **DEFAULT**\n\nDefault: Uses the default sources of Street View, searches will not be limited to\nspecific sources. \n\n#### public static final StreetViewSource **OUTDOOR**\n\nLimits Street View searches to outdoor collections. Indoor collections are not\nincluded in search results. Note also that the search only returns panoramas where it's\npossible to determine whether they're indoors or outdoors. For example, photo spheres\nare not returned because it's unknown whether they are indoors or outdoors.\n\nPublic Methods\n--------------\n\n#### public boolean **equals** ([Object](//developer.android.com/reference/java/lang/Object.html) o)\n\n#### public int **hashCode** ()\n\n#### public [String](//developer.android.com/reference/java/lang/String.html) **toString** ()\n\n#### public void **writeToParcel** ([Parcel](//developer.android.com/reference/android/os/Parcel.html) out, int flags)"]]