This class is deprecated.
The addPlace() method is deprecated as of June 30, 2017. This feature will
be turned down on June 30, 2018, and will no longer be available after that date.
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.
|
AddPlaceRequest(String name, LatLng
latLng, String address,
List<Integer>
placeTypes, String phoneNumber,
Uri
websiteUri)
Creates a new
AddPlaceRequest with both a phone number and website URI.
|
|
|
AddPlaceRequest(String name, LatLng
latLng, String address,
List<Integer>
placeTypes, String phoneNumber)
Creates a new
AddPlaceRequest with a phone number.
|
|
|
AddPlaceRequest(String name, LatLng
latLng, String address,
List<Integer>
placeTypes, Uri uri)
Creates a new
AddPlaceRequest with a website URI.
|
| String |
getAddress()
Returns the human-readable street address of the place.
|
| LatLng |
getLatLng()
Returns the geographic location of the place.
|
| String |
getName()
Returns the name of the place.
|
| String |
getPhoneNumber()
Returns the phone number for the place.
|
| List<Integer> |
getPlaceTypes()
Returns the list of place types which characterize the place.
|
| Uri |
getWebsiteUri()
Returns the URI of the authoritative website for the place.
|
| String |
toString()
|
Creates a new AddPlaceRequest
with both a phone number and website URI.
| name | The name of the business, point of interest, or other place. Limited to 255 characters. |
|---|---|
| latLng | The geographic location of the place. |
| address | A human-readable street address of the place. |
| placeTypes |
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 | A phone number for this place. |
| websiteUri | 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.
| name | The name of the business, point of interest, or other place. Limited to 255 characters. |
|---|---|
| latLng | The geographic location of the place. |
| address | A human-readable street address of the place. |
| placeTypes |
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 | A phone number for this place. |
Creates a new AddPlaceRequest
with a website URI.
| name | The name of the business, point of interest, or other place. Limited to 255 characters. |
|---|---|
| latLng | The geographic location of the place. |
| address | A human-readable street address of the place. |
| placeTypes |
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 | 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 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.