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
propertyIdAn identifier for the property
geofenceIdAn identifier for the geofence that fired.
GeofenceCallback Protocol Reference