save Floating Purposes
public abstract Unit saveFloatingPurposes(Map<String, Boolean> floatingPurposes, Function0<Unit> success, Function1<Throwable, Unit> failed)
Send and save your floatingpurposes on the server.
Parameters
floating Purposes
The map containing the id of all the consents you wish to save, along with their respective status as Boolean.
success
The callback that lets you know if everything went well.
failed
The callback that lets you know if an error has occurred.