public abstract class OAuthWebViewListener extends java.lang.Object implements IAuthFlowListener
OAuthWebView
.Constructor and Description |
---|
OAuthWebViewListener() |
Modifier and Type | Method and Description |
---|---|
abstract void |
onAuthFlowEvent(IAuthEvent event,
IAuthFlowMessage message)
On an event.
|
abstract void |
onAuthFlowException(java.lang.Exception e)
On an exception.
|
abstract void |
onAuthFlowMessage(IAuthFlowMessage message)
On a message.
|
abstract void |
onError(int errorCode,
java.lang.String description,
java.lang.String failingUrl)
This indicates the webview receives some error.
|
abstract void |
onSslError(SslErrorHandler handler,
SslError error)
This indicates a SSL Error, implement this method to handle this error.
|
public abstract void onAuthFlowMessage(IAuthFlowMessage message)
IAuthFlowListener
onAuthFlowMessage
in interface IAuthFlowListener
message
- messagepublic abstract void onAuthFlowException(java.lang.Exception e)
IAuthFlowListener
onAuthFlowException
in interface IAuthFlowListener
e
- exceptionpublic abstract void onAuthFlowEvent(IAuthEvent event, IAuthFlowMessage message)
IAuthFlowListener
onAuthFlowEvent
in interface IAuthFlowListener
event
- statemessage
- context message of this eventpublic abstract void onSslError(SslErrorHandler handler, SslError error)
handler
- SslErrorHandler the handler handle this error. For example, you can simply do handler.process() to ignore this error or handler.cancel() to
stop web page loading.error
- error details.public abstract void onError(int errorCode, java.lang.String description, java.lang.String failingUrl)
errorCode
- error codedescription
- description of the errorfailingUrl
- the failing url