Class GeofenceOptions

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

public final class GeofenceOptions extends Object
Options for geofencing operations.

Example usage:


 GeofenceOptions options = GeofenceOptions.builder()
     .shapeSrs("EPSG:4326")
     .pointSrs("EPSG:4326")
     .build();
 
  • Method Details

    • getShapeSrs

      @Nullable public @Nullable String getShapeSrs()
      Returns:
      the coordinate system for shape geometries (e.g., "EPSG:4326"), or null for default.
    • getPointSrs

      @Nullable public @Nullable String getPointSrs()
      Returns:
      the coordinate system for point coordinates (e.g., "EPSG:4326"), or null for default.
    • builder

      @NotNull public static @NotNull GeofenceOptions.Builder builder()
      Returns:
      a new builder for GeofenceOptions.
    • defaults

      @NotNull public static @NotNull GeofenceOptions defaults()
      Returns:
      Default GeofenceOptions with default coordinate systems.