addOfflineGeofence

Parameters

propertyId

propertyId to add geofence for. If there was already one, it will be updated.

expirationMs

time in future when this geofence will expire

callback

callback


abstract fun addOfflineGeofence(propertyId: Int, expirationMs: Long, notificationDetail: NotificationDetail, callback: OfflineGeofenceApi.OfflineGeofences.AddOfflineGeofenceCallback)

Same as addOfflineGeofence but additionally shows a notification when geofence is triggered.

Parameters

propertyId

propertyId

expirationMs

Time in future after which this geofence will be ignored.

notificationDetail

Notification detail. When notification is tapped app is launched.

callback

callback for success or failure