This class is deprecated.
The Place Picker is deprecated and is not included in the new Places SDK. In the Compat library it will continue to be exposed, acting as a proxy to launch the Google Play Services Place Picker. See the Place Picker documentation for details on when it will no longer be available.
The Place Picker UI is a dialog that allows a user to pick a
Place using an interactive
Users can select their current location, or a nearby place. Apps can also initialize the map to a particular viewport. See the developer's guide for more details.
Nested Class Summary
|class||PlacePicker.IntentBuilder||Builder for a Place Picker launch intent.|
|int||RESULT_ERROR||Indicates that an unspecified error occurred.|
Public Method Summary
Returns the viewport of the map at the time the user's selection was made.
Inherited Method Summary
wait(long arg0, int arg1)
public static final int RESULT_ERROR
Indicates that an unspecified error occurred.
If you encounter this error when developing your application, you may find it useful to
examine the ERROR logs for the 'Places' tag. See
isLoggable(String, int) for information on how to enable this log level.
public static String getAttributions (Intent intent)
This method is deprecated.
Returns the attributions to be shown to the user if data from the selected
We recommend placing this information below any place information. See Displaying Attributions for more details.
|intent||The result Intent that was provided in Activity.onActivityResult.|
- The attributions in HTML format, or null if there are no attributions to display.