fetchPhoto
fun PlacesClient.fetchPhoto(photoMetadata: PhotoMetadata, actions: FetchPhotoRequest.Builder.() -> Unit = {}): Single<FetchPhotoResponse>
Content copied to clipboard
Fetches a photo and emits the result in a Single.
Return
a Single emitting the response
Parameters
photoMetadata
the metadata for the photo to fetch
actions
additional actions to apply to the FetchPhotoRequest.Builder