PlaceSelectionListener

public interface PlaceSelectionListener

A listener for place selection events.

Public Method Summary

abstract void
onError(Status status)
Called when an error occurs while selecting a place.
abstract void
onPlaceSelected(Place place)
Called when a place is selected by the user.

Public Methods

public abstract void onError (Status status)

Called when an error occurs while selecting a place.

The list of possible status codes is available at PlacesStatusCodes.

You should pay specific attention to the value of status, as it can indicate a configuration error (for example, an invalid API key in your Android manifest) or a quota error (see Usage Limits).

public abstract void onPlaceSelected (Place place)

Called when a place is selected by the user.