places-ktx / com.google.android.libraries.places.ktx.api.net / com.google.android.libraries.places.api.net.PlacesClient / awaitFindAutocompletePredictions

awaitFindAutocompletePredictions

suspend fun PlacesClient.awaitFindAutocompletePredictions(request: FindAutocompletePredictionsRequest): FindAutocompletePredictionsResponse

Wraps PlacesClient.findAutocompletePredictions in a suspending function.

Fetches autocomplete predictions. If an error occurred, an ApiException will be thrown.