MoEGeofenceHelper

Helper class for interaction with Geofence Module.

Author

Umang Chamaria

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard

Register a listener to receive a callback for geofence hit for the account configured as default.

Register a listener to receive a callback for geofence hit for the given account.

Link copied to clipboard

Remove an already added OnGeofenceHitListener for the account configured as default.

Remove an already added OnGeofenceHitListener for the given account.

Link copied to clipboard
fun startGeofenceMonitoring(context: Context, appId: String? = null)

Enables geofence monitoring. Required Only if the account is configured for Location-Triggered campaigns

Link copied to clipboard
fun stopGeofenceMonitoring(context: Context, appId: String? = null)

Disable geofence monitoring. To stop receiving Location-Triggered campaigns