| com.mapsted.geofence_offline.OfflineGeofenceApi.OfflineGeofences | 
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| interface | OfflineGeofenceApi.OfflineGeofences.AddOfflineGeofenceCallback | ||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract void | 
        addOfflineGeofence(int propertyId, long expirationMs, NotificationDetail notificationDetail, OfflineGeofenceApi.OfflineGeofences.AddOfflineGeofenceCallback callback)
        
         Same as  
  
  addOfflineGeofence(int, long, AddOfflineGeofenceCallback) but additionally shows a notification when geofence is triggered. | ||||||||||
| abstract void | addOfflineGeofence(int propertyId, long expirationMs, OfflineGeofenceApi.OfflineGeofences.AddOfflineGeofenceCallback callback) | ||||||||||
| abstract void | 
        removeOfflineGeofence(int propertyId, Consumer<Boolean> callback)
        
         remove geofence for this property 
  
   | ||||||||||
Same as addOfflineGeofence(int, long, AddOfflineGeofenceCallback) but additionally shows a notification when geofence is triggered.
| 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 | 
| 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 | 
remove geofence for this property
| propertyId | property id | 
|---|---|
| callback | callback with success or failure |