restore
Attempt to restore the active state of the SDK.
This method will both initialize and start the SDK, given that there is a valid state to restore to. Will only perform action if the SDK is uninitialized or stopped.
Parameters
context
A context reference
listener
a listener to be notified when restoration completes
Deprecated
Restoring without a listener is now deprecated.
Replace with
import com.getsensibill.core.SensibillCore
import com.getsensibill.core.SDKRestoreListener
Content copied to clipboard
SensibillSDK.restore(context, object : SDKRestoreListener { /* Implement methods */ })
Content copied to clipboard
Attempt to restore the active state of the SDK.
This method will both initialize and start the SDK, given that there is a valid state to restore to. Will only perform action if the SDK is uninitialized or stopped.
Return
True if the SDK was restored successfully, false otherwise
Parameters
context
A context reference