search Nearby Request
fun searchNearbyRequest(locationRestriction: LocationRestriction, placeFields: List<Place.Field>, actions: SearchNearbyRequest.Builder.() -> Unit? = null): SearchNearbyRequest
Deprecated
Use the version in the Places SDK instead.
Replace with
import com.google.android.libraries.places.api.net.kotlin.searchNearbyRequest
Content copied to clipboard
searchNearbyRequest(locationRestriction, placeFields, actions)Content copied to clipboard
Builds a new SearchNearbyRequest to find the current place.
Return
the constructed SearchNearbyRequest
Parameters
location Restriction
limits the scope of the search to a specific area.
place Fields
the fields of the places to be returned
actions
the actions to apply to the SearchNearbyRequest.Builder