public class SearchResult
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
static SearchResultBuilder |
builder()
Instantiates the SearchResultBuilder object.
|
java.lang.String |
getAddressLine1()
First address line, usually street name with number.
|
java.lang.String |
getAddressLine2()
Second address line, usually country, city name nad postal code if available for obtained result.
|
java.lang.String[] |
getCategories()
List of categories associated with obtained result.
|
java.lang.String |
getCountryCode()
Country code associated with obtained result.
|
java.lang.String |
getGeoHash()
Geohash generated from latitude and longitude, unique for each item.
|
java.lang.String |
getIdentifier()
Result identifier, unique per each item.
|
LatLng |
getLocation()
Position (latitude, longitude).
|
java.lang.String |
getName()
POI name if available, otherwise empty string.
|
java.lang.String |
getPhoneNumber()
Phone number if available, otherwise empty string.
|
java.lang.String |
getType()
Type of a result.
|
java.lang.String |
getUrl()
POI url if available, otherwise empty string.
|
public static SearchResultBuilder builder()
@NonNull public java.lang.String getIdentifier()
public java.lang.String getType()
public java.lang.String[] getCategories()
public java.lang.String getAddressLine1()
public java.lang.String getAddressLine2()
public java.lang.String getName()
public java.lang.String getPhoneNumber()
public java.lang.String getCountryCode()
public LatLng getLocation()
public java.lang.String getGeoHash()
public java.lang.String getUrl()