fetchPlaceRequest

fun fetchPlaceRequest(placeId: String, placeFields: List<Place.Field>, actions: FetchPlaceRequest.Builder.() -> Unit? = null): FetchPlaceRequest

Deprecated

Use the version in the Places SDK instead.

Replace with

import com.google.android.libraries.places.api.net.kotlin.fetchPlaceRequest
fetchPlaceRequest(placeId, placeFields, actions)

Builds a new FetchPlaceRequest.

Return

the constructed FetchPlaceRequest

Parameters

placeId

the ID of the place to fetch

placeFields

the fields of the place to be requested

actions

the actions to apply to the FetchPlaceRequest.Builder