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

Extensions for com.google.android.libraries.places.api.net.PlacesClient

awaitFetchPhoto

Wraps PlacesClient.fetchPhoto in a suspending function.

suspend fun PlacesClient.awaitFetchPhoto(request: FetchPhotoRequest): FetchPhotoResponse

awaitFetchPlace

Wraps PlacesClient.fetchPlace in a suspending function.

suspend fun PlacesClient.awaitFetchPlace(request: FetchPlaceRequest): FetchPlaceResponse

awaitFindAutocompletePredictions

Wraps PlacesClient.findAutocompletePredictions in a suspending function.

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

awaitFindCurrentPlace

Wraps PlacesClient.findCurrentPlace in a suspending function.

suspend fun PlacesClient.awaitFindCurrentPlace(request: FindCurrentPlaceRequest): FindCurrentPlaceResponse