OfflineGeofences

Types

Link copied to clipboard

Functions

Link copied to clipboard

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.
Link copied to clipboard
abstract fun removeOfflineGeofence(propertyId: Int, @Nullable callback: Consumer<Boolean>)
* remove geofence for this property