public abstract static class Callback.Default extends Object implements Callback
This simply logs onError calls at debug level. This should be overridden to perform more specific error handling.
Callback.Default
Constructor and Description |
---|
Default() |
Modifier and Type | Method and Description |
---|---|
void |
onError(ErrorReason errorReason)
Notification of a contextual error related to this callback.
|
public void onError(ErrorReason errorReason)
Callback
onError
is called include the session being closed, a
communication timeout, or a problem with the provided parameters. No
further calls will be made to this callback for the call context.onError
in interface Callback
errorReason
- a value representing the error; this can be one of
constants defined in ErrorReason
, or a feature-specific
reasonCopyright © 2024 DiffusionData Ltd. All Rights Reserved.