GeofenceCallback
public protocol GeofenceCallback : AnyObject
Protocol to provide callback method for when a geofence is triggerd for the associated propertyId and geofenceId
-
Callback method for when a geofence is triggered
Declaration
Swift
func onGeofenceTriggered(propertyId: Int, geofenceId: String)
Parameters
propertyId
An identifier for the property
geofenceId
An identifier for the geofence that fired.