setUserConsent

abstract fun setUserConsent(isConsentGiven: Boolean, callback: GeofencingUtilsUserConsentResponseCallback)

Set the end-user consent for Geofencing to run.

Parameters

isConsentGiven

true if user consents Geofencing, false if not (this will disable Geofencing).

callback

Callback called when state is updated.