Class GeofenceMatch

java.lang.Object
com.cercalia.sdk.model.geofencing.GeofenceMatch

public final class GeofenceMatch extends Object
Match result for a geofence shape that contains points.
  • Method Details

    • getShapeId

      @NotNull public @NotNull String getShapeId()
      Returns the unique identifier of the shape.
      Returns:
      the shape ID.
    • getShapeWkt

      @NotNull public @NotNull String getShapeWkt()
      Returns the WKT representation of the shape.
      Returns:
      the shape WKT.
    • getPointsInside

      @NotNull public @NotNull List<GeofenceMatch.MatchedPoint> getPointsInside()
      Returns the points that are inside this shape.
      Returns:
      unmodifiable list of matched points.
    • hasPointsInside

      public boolean hasPointsInside()
      Returns whether this shape contains any points.
      Returns:
      true if points are inside.
    • builder

      @NotNull public static @NotNull GeofenceMatch.Builder builder()
      Creates a new builder for GeofenceMatch.
      Returns:
      a new GeofenceMatch.Builder instance.
    • toString

      public String toString()
      Overrides:
      toString in class Object