Package com.unblu.sdk.core.callback
Interface InitializeExceptionCallback
public interface InitializeExceptionCallback
Callback for exceptions which may arise while initializing the
UnbluClient.-
Method Summary
Modifier and TypeMethodDescriptionvoidError when theUnblu.createVisitorClient(Application, UnbluClientConfiguration, UnbluNotificationApi, InitializeSuccessCallback, InitializeExceptionCallback)orUnblu.createAgentClient(Application, UnbluClientConfiguration, UnbluNotificationApi, InitializeSuccessCallback, InitializeExceptionCallback)function wasn't calledvoidUnbluClientis in an error state and should be deinitialized before you attempt to initialize it.voidonInitFailed(UnbluClientErrorType errorType, String details) A general error occurred that caused the API not to initialize.
-
Method Details
-
onConfigureNotCalled
void onConfigureNotCalled()Error when theUnblu.createVisitorClient(Application, UnbluClientConfiguration, UnbluNotificationApi, InitializeSuccessCallback, InitializeExceptionCallback)orUnblu.createAgentClient(Application, UnbluClientConfiguration, UnbluNotificationApi, InitializeSuccessCallback, InitializeExceptionCallback)function wasn't called -
onInErrorState
void onInErrorState()UnbluClientis in an error state and should be deinitialized before you attempt to initialize it. -
onInitFailed
A general error occurred that caused the API not to initialize.- Parameters:
errorType- The type of errordetails- Detailed message about the error. Can be null. If present, the message is intended for internal purposes only and isn't localized.
-