FetchPlaceRequestKt

public final class FetchPlaceRequestKt


Summary

Public methods

static final @NonNull FetchPlaceRequest
fetchPlaceRequest(
    @NonNull String placeId,
    @NonNull List<@NonNull Place.Field> placeFields,
    @ExtensionFunctionType Function1<@NonNull FetchPlaceRequest.BuilderUnit> actions
)

Builds a new FetchPlaceRequest.

Public methods

fetchPlaceRequest

public static final @NonNull FetchPlaceRequest fetchPlaceRequest(
    @NonNull String placeId,
    @NonNull List<@NonNull Place.Field> placeFields,
    @ExtensionFunctionType Function1<@NonNull FetchPlaceRequest.BuilderUnit> actions
)

Builds a new FetchPlaceRequest.

Parameters
@NonNull String placeId

the ID of the place to fetch

@NonNull List<@NonNull Place.Field> placeFields

the fields of the place to be requested

@ExtensionFunctionType Function1<@NonNull FetchPlaceRequest.BuilderUnit> actions

the actions to apply to the FetchPlaceRequest.Builder

Returns
@NonNull FetchPlaceRequest

the constructed FetchPlaceRequest