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 TypeMethodDescriptionvoid
Error when theUnblu.createVisitorClient(Application, UnbluClientConfiguration, UnbluNotificationApi, InitializeSuccessCallback, InitializeExceptionCallback)
orUnblu.createAgentClient(Application, UnbluClientConfiguration, UnbluNotificationApi, InitializeSuccessCallback, InitializeExceptionCallback)
function wasn't calledvoid
UnbluClient
is in an error state and should be deinitialized before you attempt to initialize it.void
onInitFailed
(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()UnbluClient
is 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.
-