autocompletePrediction

inline fun autocompletePrediction(placeId: String, noinline actions: AutocompletePrediction.Builder.() -> Unit? = null): AutocompletePrediction

Builds a new AutocompletePrediction.

Return

the constructed AutocompletePrediction

Parameters

placeId

the place's ID

actions

the actions to apply to the AutocompletePrediction.Builder