public class

AddPlaceRequest

extends Object
implements Parcelable
java.lang.Object
   ↳ com.google.android.gms.location.places.AddPlaceRequest

Class Overview

Represents a Place that you would like to add to Google’s Places database. For example, this may be a place that a user has added in your app.

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Public Constructors
AddPlaceRequest(String name, LatLng latLng, String address, List<Integer> placeTypes, String phoneNumber)
Constructor for AddPlaceRequest.
AddPlaceRequest(String name, LatLng latLng, String address, List<Integer> placeTypes, Uri uri)
Constructor for AddPlaceRequest.
AddPlaceRequest(String name, LatLng latLng, String address, List<Integer> placeTypes, String phoneNumber, Uri uri)
Constructor for AddPlaceRequest.
Public Methods
String getAddress()
LatLng getLatLng()
String getName()
String getPhoneNumber()
List<Integer> getPlaceTypes()
Uri getWebsiteUri()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Public Constructors

public AddPlaceRequest (String name, LatLng latLng, String address, List<Integer> placeTypes, String phoneNumber)

Constructor for AddPlaceRequest.

Parameters
name the full textual name of the business, point of interest, or other place. Limited to 255 characters.
latLng specifies the location of the place.
address human-readable address of the place. If a place has a well-formatted, human-readable address, it is more likely to pass the moderation process for inclusion in the Google Places database.
placeTypes list of place types that characterize this place. For a list of available place types, see the documentation for the Place interface.
phoneNumber the phone number of this place.

public AddPlaceRequest (String name, LatLng latLng, String address, List<Integer> placeTypes, Uri uri)

Constructor for AddPlaceRequest.

Parameters
name the full textual name of the business, point of interest, or other place. Limited to 255 characters.
latLng specifies the location of the place.
address human-readable address of the place. If a place has a well-formatted, human-readable address, it is more likely to pass the moderation process for inclusion in the Google Places database.
placeTypes list of place types that characterize this place. For a list of available place types, see the documentation for the Place interface.
uri containing the address of the authoritative website for this place, such as a business home page. If a place has a well-formatted website address, it is more likely to pass the moderation process for inclusion in the Google Places database.

public AddPlaceRequest (String name, LatLng latLng, String address, List<Integer> placeTypes, String phoneNumber, Uri uri)

Constructor for AddPlaceRequest.

Parameters
name the full textual name of the business, point of interest, or other place. Limited to 255 characters.
latLng specifies the location of the place.
address human-readable address of the place. If a place has a well-formatted, human-readable address, it is more likely to pass the moderation process for inclusion in the Google Places database.
placeTypes list of place types that characterize this place. For a list of available place types, see the documentation for the Place interface.
phoneNumber the phone number of this place.
uri containing the address of the authoritative website for this place, such as a business home page. If a place has a well-formatted website address, it is more likely to pass the moderation process for inclusion in the Google Places database.

Public Methods

public String getAddress ()

public LatLng getLatLng ()

public String getName ()

public String getPhoneNumber ()

public List<Integer> getPlaceTypes ()

public Uri getWebsiteUri ()

public String toString ()