set Consentable Consents
public abstract Unit setConsentableConsents(Map<Integer, ACConsentStatus> consents, Function0<Unit> success, Function1<Throwable, Unit> error)
Defines the new status of consentables passed in parameter.
Parameters
consents
The map containing the id of all the 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.