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

awaitFetchPhoto

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

Wraps PlacesClient.fetchPhoto in a suspending function.

Fetches a photo. If an error occurred, an ApiException will be thrown.