save

public abstract Unit save(Function1<Boolean, Unit> onResult, Function1<Throwable, Unit> onError)

Saves the current state of user selections made on the CMP to the server

Parameters

onResult

The callback that lets you know if everything went well.

onError

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