searchNearbyPlaceRequest

fun searchNearbyPlaceRequest(locationRestriction: LocationRestriction, placeFields: List<Place.Field>, actions: SearchNearbyRequest.Builder.() -> Unit? = null): SearchNearbyRequest

Builds a new SearchNearbyRequest to find the current place.

Return

the constructed SearchNearbyRequest

Parameters

locationRestriction

limits the scope of the search to a specific area.

placeFields

the fields of the places to be returned

actions

the actions to apply to the SearchNearbyRequest.Builder