addListener
Register a listener to receive a callback for geofence hit for the account configured as default.
Since
2.0.0
Parameters
listener
instance of OnGeofenceHitListener
Throws
if the SDK is not initialized.
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
Instance of OnGeofenceHitListener
Throws
if the SDK is not initialized.