PlaceSelectionListener

public interface PlaceSelectionListener
Known Indirect Subclasses

A listener for place selection events.

Public Method Summary

abstract void
onError(Status status)
Called when an error occurs while fetching details for the selected place autocomplete prediction.
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 fetching details for the selected place autocomplete prediction.

The list of possible status codes is available at PlacesStatusCodes. Errors returned are developer errors such as providing an invalid API key. Other errors such as network or timeout errors are handled by the widget.

Parameters
status

public abstract void onPlaceSelected (Place place)

Called when a place is selected by the user.

Parameters
place