Skip to main content
RadarGeofence represents a geofence. Learn more about Geofences.

Properties

_id
String
required
The Radar ID of the geofence.
__description
String
required
The description of the geofence. Not to be confused with the NSObject description property.
tag
String
The tag of the geofence.
externalId
String
The external ID of the geofence.
metadata
NSDictionary
The optional set of custom key-value pairs for the geofence.
geometry
RadarGeofenceGeometry
required
The geometry of the geofence, which can be cast to either RadarCircleGeometry or RadarPolygonGeometry.
operatingHours
RadarOperatingHours
The optional operating hours for the geofence.

Methods

arrayForGeofences

Converts an array of RadarGeofence objects to an array of dictionaries.

dictionaryValue

Returns the dictionary representation of the geofence.

Example