searchPlaces

fun searchPlaces(request: PlaceRequest, listener: PlacesListener, executor: Executor? = null)

Performs places search with a query, can be called once during single session and afterwards either searchPlaces() with PlacePageRequest can be called or the session closed

Parameters

request

Request defining the places query

listener

Listener callback for places result

executor

Executor for listener, the default is MainThread


fun searchPlaces(request: PlacePageRequest, listener: PlacesListener, executor: Executor? = null)

Performs places search with a continuation token, can be called 0..N times during single session and afterwards the session closed has to be closed

Parameters

request

Request defining the continuation token

listener

Listener callback for places result

executor

Executor for listener, the default is MainThread