addListener

fun addListener(listener: OnGeofenceHitListener)

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

Since

2.0.0

Parameters

listener

fun addListener(appId: String, listener: OnGeofenceHitListener)

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

Since

2.0.0

Parameters

appId

Account identifier, APP ID on the MoEngage Dashboard.

listener