public interface

PlaceSelectionListener

com.google.android.gms.location.places.ui.PlaceSelectionListener

Class Overview

A listener for place selection events.

Summary

Public Methods
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).

Parameters
status Status

public abstract void onPlaceSelected (Place place)

Called when a place is selected by the user.

Parameters
place Place