setExtraConsentableConsents

public abstract Unit setExtraConsentableConsents(Map<String, ACConsentStatus> consents, Function0<Unit> success, Function1<Throwable, Unit> error)

Defines the new status of extra consentables passed in parameter.

Parameters

consents

The map containing the id of all the extra consents you wish to modify, along with their respective status ACConsentStatus.

success

The callback that lets you know if everything went well.

error

The callback that lets you know if an error has occurred.