searchByTextRequest

fun searchByTextRequest(textQuery: String, placeFields: List<Place.Field>, actions: SearchByTextRequest.Builder.() -> Unit = {}): SearchByTextRequest

Deprecated

Use the version in the Places SDK instead.

Replace with

import com.google.android.libraries.places.api.net.kotlin.searchByTextRequest
searchByTextRequest(textQuery, placeFields, actions)

Builds a new SearchByTextRequest.

Return

the constructed SearchByTextRequest

Parameters

textQuery

the query string to search

placeFields

the fields of the place to be requested

actions

the actions to apply to the SearchByTextRequest.Builder