fetchPlace

fun PlacesClient.fetchPlace(placeId: String, placeFields: List<Place.Field>, actions: FetchPlaceRequest.Builder.() -> Unit = {}): Single<FetchPlaceResponse>

Fetches a Place and emits the result in a Single.

Return

a Single emitting the response

Parameters

placeId

the ID of the place to be requested

placeFields

the fields of the place to be requested

actions

additional actions to apply to the FetchPlaceRequest.Builder