OnInitCallback
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