Search…
OnInitCallback
This interface is used with init(SdkConfig, OnInitCallback).

OnInitCallback API

void
onInitFailure (InitIssue issue, @Nullable Throwable throwable)
void

onInitFailure()

1
void onInitFailure(InitIssue issue, @Nullable Throwable throwable)
Copied!
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()

1
void onInitSuccess()
Copied!
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 modified 2yr ago