GeofencingService

Geofencing API for detecting entry/exit states of monitored features' geometries.

Functions

Link copied to clipboard
abstract fun addFeature(@NonNull feature: Feature, @NonNull callback: AddFeatureCallback)
Adds a feature to be monitored for geofencing activities.
Link copied to clipboard
abstract fun addObserver(@NonNull observer: GeofencingObserver, @NonNull callback: AddObserverCallback)
Adds a geofence monitored features' observer.
Link copied to clipboard
abstract fun clearFeatures(@NonNull callback: ClearFeaturesCallback)
Clears all monitored features.
Link copied to clipboard
abstract fun configure(@NonNull options: GeofencingOptions, @NonNull callback: ConfigureCallback)
Set options affecting the behavior of the geofencing service.
Link copied to clipboard
abstract fun getFeature(@NonNull identifier: String, @NonNull callback: GetFeatureCallback)
Gets a feature by its identifier.
Link copied to clipboard
abstract fun getOptions(@NonNull callback: GetOptionsCallback)
Returns the current options affecting the behavior of the geofencing service.
Link copied to clipboard
abstract fun removeFeature(@NonNull identifier: String, @NonNull callback: RemoveFeatureCallback)
Removes a feature (defined by its identifier) to be monitored for geofencing activities.
Link copied to clipboard
Removes a geofence monitored features' observer.