OnInitCallback
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.
This interface is used with init(SdkConfig, OnInitCallback)
.
OnInitCallback API
onInitFailure()
onInitFailure()
Called when an issue was encountered while initializing the SDK.
Parameters
issue
An InitIssue
enum indicating the issue.
throwable
An optional Throwable
in case of INITIALIZATION_ERROR
.
onInitSuccess()
onInitSuccess()
Called when SDK initialization completed successfully. You can now start the SDK detections, and access any of the other methods on the
Sentiance
class.
Last updated