Package com.my.target.common.listeners
Class HtmlLoadingListener.CommonError
-
- All Implemented Interfaces:
-
com.my.target.common.listeners.HtmlLoadingListener.Error
public final class HtmlLoadingListener.CommonError implements HtmlLoadingListener.Error
Represents common error, receiving means, that WebView could not load content because of any other except Http type of error, e.g timeout or non-existing domain
-
-
Method Summary
Modifier and Type Method Description intgetCode()StringgetDescription()-
-
Method Detail
-
getCode
int getCode()
- Returns:
Code of error (e.g 404 in case of HttpError, or one of the ERROR_* constants in WebViewClient)
-
getDescription
@NonNull() String getDescription()
- Returns:
Description of error
-
-
-
-