| java.lang.Object | |
| ↳ | com.google.android.gms.location.places.ui.PlacePicker.IntentBuilder |
Builder for a Place Picker launch intent.
After setting the optional parameters, call build(Activity) and pass the intent to
startActivityForResult(android.content.Intent, int).
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new builder for an intent to launch the Place Picker UI.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Checks that Google Play Services is available and retrieves the Intent as configured so
far by the Builder.
| |||||||||||
Sets the starting viewport for the map.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Creates a new builder for an intent to launch the Place Picker UI.
Checks that Google Play Services is available and retrieves the Intent as configured so far by the Builder.
| GooglePlayServicesNotAvailableException | If Google Play Services is not available. |
|---|---|
| GooglePlayServicesRepairableException | If Google Play Services is not available and the error causing this can be resolved by the user. |
Sets the starting viewport for the map. The viewport is an area defined by two sets of latitude/longitude coordinates marking the top left and bottom right corners.
If unspecified, the map will be centered at the device's current location.