Session
class Session
Session has a limited lifetime. The lifetime follows this call graph:
[0..N] autocomplete requests then either of [1] do nothing -> close session [1] geocode with location ID -> close session [1] geocode with query -> close session [1] search places with query -> [0..N] search places with continuation token -> close session
Properties
Functions
Link copied to clipboard
fun autocomplete(request: SearchRequest, listener: AutocompleteResultListener, executor: Executor? = null)
Performs autocomplete, can be called 0..N times during single session, if afterwards
Link copied to clipboard
fun geocode(request: GeocodeLocationRequest, listener: GeocodingResultListener, executor: Executor? = null)
Performs geocode on a location, can be called once during single session and afterwards session has to be closed
Performs geocode with a query, can be called once during single session and afterwards session has to be closed
Link copied to clipboard
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
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