SearchNearbyRequestKt

public final class SearchNearbyRequestKt


Summary

Public methods

static final @NonNull SearchNearbyRequest
searchNearbyRequest(
    @NonNull LocationRestriction locationRestriction,
    @NonNull List<@NonNull Place.Field> placeFields,
    @ExtensionFunctionType Function1<@NonNull SearchNearbyRequest.BuilderUnit> actions
)

Builds a new SearchNearbyRequest.

Public methods

searchNearbyRequest

public static final @NonNull SearchNearbyRequest searchNearbyRequest(
    @NonNull LocationRestriction locationRestriction,
    @NonNull List<@NonNull Place.Field> placeFields,
    @ExtensionFunctionType Function1<@NonNull SearchNearbyRequest.BuilderUnit> actions
)

Builds a new SearchNearbyRequest.

Parameters
@NonNull LocationRestriction locationRestriction

the restricted region to search

@NonNull List<@NonNull Place.Field> placeFields

the fields of the place to be requested

@ExtensionFunctionType Function1<@NonNull SearchNearbyRequest.BuilderUnit> actions

the actions to apply to the SearchNearbyRequest.Builder