java.lang.Object | |
↳ | com.google.android.gms.location.places.AddPlaceRequest |
Information about a new place that you would like to add to Google's Places database.
An AddPlaceRequest
must include the place's name, geographic location, street address, a
list of types which characterize the place, and either the place's website or phone number or
both. For more information about adding places, see the addPlace(GoogleApiClient, AddPlaceRequest)
method and
the developer's guide.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new
AddPlaceRequest with both a phone number and website URI. | |||||||||||
Creates a new
AddPlaceRequest with a phone number. | |||||||||||
Creates a new
AddPlaceRequest with a website URI. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the human-readable street address of the place.
| |||||||||||
Returns the geographic location of the place.
| |||||||||||
Returns the name of the place.
| |||||||||||
Returns the phone number for the place.
| |||||||||||
Returns the list of place types which characterize the place.
| |||||||||||
Returns the URI of the authoritative website for the place.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Creates a new AddPlaceRequest
with both a phone number and website URI.
Parameters | |
---|---|
name |
String :
The name of the business, point of interest, or other place. Limited to 255
characters. |
latLng |
LatLng :
The geographic location of the place. |
address |
String :
A human-readable street address of the place. |
placeTypes |
List :
A list of place types that characterize this place. For a list of available
place types, see the developer's
guide and the constants in the Place interface. |
phoneNumber |
String :
A phone number for this place. |
websiteUri |
Uri :
A Uri containing the address of the authoritative website for this
place, such as a business home page.
|
Creates a new AddPlaceRequest
with a phone number.
Parameters | |
---|---|
name |
String :
The name of the business, point of interest, or other place. Limited to 255
characters. |
latLng |
LatLng :
The geographic location of the place. |
address |
String :
A human-readable street address of the place. |
placeTypes |
List :
A list of place types that characterize this place. For a list of available
place types, see the developer's
guide and the constants in the Place interface. |
phoneNumber |
String :
A phone number for this place.
|
Creates a new AddPlaceRequest
with a website URI.
Parameters | |
---|---|
name |
String :
The name of the business, point of interest, or other place. Limited to 255
characters. |
latLng |
LatLng :
The geographic location of the place. |
address |
String :
A human-readable street address of the place. |
placeTypes |
List :
A list of place types that characterize this place. For a list of available
place types, see the developer's
guide and the constants in the Place interface. |
uri |
Uri :
A Uri containing the address of the authoritative website for this place,
such as a business home page.
|
Returns the human-readable street address of the place.
Returns | |
---|---|
String |
The address of the place. |
Returns the geographic location of the place.
Returns | |
---|---|
LatLng |
The location of the place. |
Returns the name of the place.
Returns | |
---|---|
String |
The name of the place. |
Returns the phone number for the place.
Returns | |
---|---|
String |
The phone number for the place, or null if none was specified. |
Returns the list of place types which characterize the place.
Returns | |
---|---|
List<Integer> |
The place types for the place. |
Returns the URI of the authoritative website for the place.
Returns | |
---|---|
Uri |
The website for the place, or null if none was specified. |
Returns | |
---|---|
String |