new Geofence(regionId, geoFenceId, name, type, eventType, msgTitle, msgContent, appName, timezone, update, activated, clientId, latitude, longitude, radius)
Geofence object generated by SDK
Parameters:
Name | Type | Description |
---|---|---|
regionId |
string | Region identifier |
geoFenceId |
string | Geofence identifier |
name |
string | Name assigned in platform at the creation moment or last udpate |
type |
string | Geofence type |
eventType |
string | Event type which triggers the event |
msgTitle |
string | Notification title |
msgContent |
string | Notification content |
appName |
string | Application name associtaed with this Geofence |
timezone |
string | Timezone set in the backend |
update |
string | Last time the geofence was updated |
activated |
boolean | true if geofence is active, false otherwise |
clientId |
string | Workspace internal identifier |
latitude |
number | Latitude, in degrees |
longitude |
number | Longitude, in degrees. |
radius |
number | Radio length of geofence in meters |