AutocompletePredictionKt

public final class AutocompletePredictionKt


Summary

Public methods

static final @NonNull AutocompletePrediction

Builds a new AutocompletePrediction.

Public methods

autocompletePrediction

public static final @NonNull AutocompletePrediction autocompletePrediction(
    @NonNull String placeId,
    @ExtensionFunctionType Function1<@NonNull AutocompletePrediction.BuilderUnit> actions
)

Builds a new AutocompletePrediction.

Parameters
@NonNull String placeId

the place's ID

@ExtensionFunctionType Function1<@NonNull AutocompletePrediction.BuilderUnit> actions

the actions to apply to the AutocompletePrediction.Builder