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 |
---|
Callback.Default() |
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 © 2016 Push Technology Ltd. All Rights Reserved.