Class GeofenceResult.Builder
java.lang.Object
com.cercalia.sdk.model.geofencing.GeofenceResult.Builder
- Enclosing class:
- GeofenceResult
Builder for
GeofenceResult.-
Method Summary
Modifier and TypeMethodDescription@NotNull GeofenceResultbuild()Builds theGeofenceResult.@NotNull GeofenceResult.Buildermatches(@NotNull List<GeofenceMatch> matches) Sets the matches.@NotNull GeofenceResult.BuildertotalPointsChecked(int totalPointsChecked) Sets the total points checked.@NotNull GeofenceResult.BuildertotalShapesChecked(int totalShapesChecked) Sets the total shapes checked.
-
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
Sets the total points checked.- Parameters:
totalPointsChecked- total count.- Returns:
- this builder.
-
totalShapesChecked
Sets the total shapes checked.- Parameters:
totalShapesChecked- total count.- Returns:
- this builder.
-
build
Builds theGeofenceResult.- Returns:
- a new
GeofenceResult.
-