RadarGeofence

class RadarGeofence(_id: String, description: String, tag: String?, externalId: String?, metadata: JSONObject?, geometry: RadarGeofenceGeometry?)

Represents a geofence.

See also

Constructors

RadarGeofence
Link copied to clipboard
fun RadarGeofence(_id: String, description: String, tag: String?, externalId: String?, metadata: JSONObject?, geometry: RadarGeofenceGeometry?)

Functions

toJson
Link copied to clipboard
fun toJson(): JSONObject

Properties

_id
Link copied to clipboard
val _id: String
The Radar ID of the geofence.
description
Link copied to clipboard
val description: String
The description of the geofence.
externalId
Link copied to clipboard
val externalId: String?
The external ID of the geofence.
geometry
Link copied to clipboard
val geometry: RadarGeofenceGeometry?
The geometry of the geofence.
metadata
Link copied to clipboard
val metadata: JSONObject?
The optional set of custom key-value pairs for the geofence.
tag
Link copied to clipboard
val tag: String?
The tag of the geofence.