InitState
Last updated
Last updated
This document refers to deprecated parts of the platform and has been left intact to help customers with legacy integrations. In order to access the latest platform features and documentation, please go to https://docs.sentiance.com.
Indicates the SDK initialization state.
NOT_INITIALIZED
The SDK has not been initialized or a previous initialization attempt has failed. To initialize the SDK, call init(SdkConfig, OnInitCallback)
.
INIT_IN_PROGRESS
Initialization is in progress. When it completes, the SDK will call onInitSuccess()
on success, and onInitFailure(InitIssue)
on failure. Do not call init during this state. Doing so will throw an SdkException
.
INITIALIZED
The SDK has been initialized. Do not call init during this state. Doing so will throw an SdkException
.
RESETTING
SDK reset is in progress as a result of calling reset(ResetCallback)
.