Package com.cercalia.sdk.model.poi
Class PoiNearestOptions
java.lang.Object
com.cercalia.sdk.model.poi.PoiNearestOptions
Options for searching nearest POIs by straight-line distance.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull PoiNearestOptions.Builderbuilder()@Nullable IntegergetLimit()@Nullable Integerstatic @NotNull PoiNearestOptionsQuick constructor for simple searches.
-
Method Details
-
getCategories
- Returns:
- The list of POI category codes to search for.
-
getLimit
- Returns:
- The maximum number of results to return.
-
getRadius
- Returns:
- The search radius in meters.
-
builder
- Returns:
- A new builder instance.
-
of
Quick constructor for simple searches.- Parameters:
categories- The POI category codes to search for.- Returns:
- A new
PoiNearestOptionsinstance.
-