BrazeGeofence

class BrazeGeofence(val jsonObject: JSONObject = JSONObject(), val id: String, val latitude: Double, val longitude: Double, val radiusMeter: Int, val cooldownEnterSeconds: Int, val cooldownExitSeconds: Int, val analyticsEnabledEnter: Boolean, val analyticsEnabledExit: Boolean, val enterEvents: Boolean, val exitEvents: Boolean, val notificationResponsivenessMs: Int) : IPutIntoJson<JSONObject?> , Comparable<BrazeGeofence>

Represents a Braze geofence region with coordinates, radius, and transition cooldown configuration.

Constructors

Link copied to clipboard
internal constructor(jsonObject: JSONObject = JSONObject(), id: String, latitude: Double, longitude: Double, radiusMeter: Int, cooldownEnterSeconds: Int, cooldownExitSeconds: Int, analyticsEnabledEnter: Boolean, analyticsEnabledExit: Boolean, enterEvents: Boolean, exitEvents: Boolean, notificationResponsivenessMs: Int)
constructor(jsonObject: JSONObject)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun compareTo(other: BrazeGeofence): Int
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard

Check whether this geofence is identical to another geofence based on their server data from Braze.

Link copied to clipboard
open override fun forJsonPut(): JSONObject
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
fun BrazeGeofence.toGeofence(): ERROR CLASS: Symbol not found for Geofence

Creates a Google Play Location Services Geofence object from a BrazeGeofence.

Link copied to clipboard
open override fun toString(): String