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

awaitFetchPlace

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

Wraps PlacesClient.fetchPlace in a suspending function.

Fetches the details of a place. If an error occurred, an ApiException will be thrown.