commit

abstract fun commit(): Boolean

You must call this method for your changes to be stored locally and transmitted to the Marketing Cloud Servers.

Return

true if the data was saved successfully and the Registration was scheduled for delivery to the Marketing Cloud Servers.