Class GeofenceResult.Builder

java.lang.Object
com.cercalia.sdk.model.geofencing.GeofenceResult.Builder
Enclosing class:
GeofenceResult

public static final class GeofenceResult.Builder extends Object
Builder for GeofenceResult.
  • Method Details

    • matches

      @NotNull public @NotNull GeofenceResult.Builder matches(@NotNull @NotNull List<GeofenceMatch> matches)
      Sets the matches.
      Parameters:
      matches - list of geofence matches.
      Returns:
      this builder.
    • totalPointsChecked

      @NotNull public @NotNull GeofenceResult.Builder totalPointsChecked(int totalPointsChecked)
      Sets the total points checked.
      Parameters:
      totalPointsChecked - total count.
      Returns:
      this builder.
    • totalShapesChecked

      @NotNull public @NotNull GeofenceResult.Builder totalShapesChecked(int totalShapesChecked)
      Sets the total shapes checked.
      Parameters:
      totalShapesChecked - total count.
      Returns:
      this builder.
    • build

      @NotNull public @NotNull GeofenceResult build()
      Builds the GeofenceResult.
      Returns:
      a new GeofenceResult.