awaitSearchByText

@ExperimentalCoroutinesApi
suspend fun PlacesClient.awaitSearchByText(textQuery: String, placeFields: List<Place.Field>, actions: SearchByTextRequest.Builder.() -> Unit = {}): SearchByTextResponse

Deprecated

Use the version in the Places SDK instead.

Replace with

this.awaitSearchByText(textQuery, placeFields, actions)

Wraps PlacesClient.searchByText in a suspending function.

Fetches the place(s) of interest using a text query. If an error occurred, an ApiException will be thrown.