setSmartGeofenceEventListener

Sets a listener that is invoked when a geofence entry or exit event is detected.

Parameters

listener

listener to receive details about the geofence event. Set null to remove the previously set listener.

Throws

if the SDK is not initialized.