Class ProximityResult

java.lang.Object
com.cercalia.sdk.model.proximity.ProximityResult

public final class ProximityResult extends Object
Result of a proximity search.
  • Constructor Details

    • ProximityResult

      public ProximityResult(@NotNull @NotNull List<ProximityItem> items, @NotNull @NotNull Coordinate center, int totalFound)
  • Method Details

    • getItems

      @NotNull public @NotNull List<ProximityItem> getItems()
      Returns:
      The list of items found in proximity.
    • getCenter

      @NotNull public @NotNull Coordinate getCenter()
      Returns:
      The center coordinate used for the search.
    • getTotalFound

      public int getTotalFound()
      Returns:
      The total number of items found in the API.
    • toString

      public String toString()
      Overrides:
      toString in class Object