Webcom Android SDK Public API Reference / com.orange.webcom.sdkv2.datasync / DatasyncService / persist

persist

fun persist(): Unit

Saves the current data stored in the local cache into the local storage of the device.

This method has no effect if the underlying WebcomApplication is configured with WebcomConfiguration.isPersistent set to false. The saved data will be automatically retrieved by the DatasyncService when created, provided that the WebcomConfiguration.isPersistent setting of the underlying WebcomApplication is set to true.