Class Index

C D G H I J M P Q S T U V W X

C

CallbackException Exception passed to UrlRequest.Callback.onFailed() when UrlRequest.Callback method throws an exception. 
ClientCertRequest ClientCertRequest: The user receives an instance of this class as a parameter of onReceivedClientCertRequest(WebView, ClientCertRequest)
ConsoleMessage Public class representing a JavaScript console message from WebCore. 
ConsoleMessage.MessageLevel  
CookieManager Manages the cookies used by an application's WebView instances. 

D

DateSorter Sorts dates into the following groups: Today Yesterday seven days ago one month ago older than a month ago 
DownloadListener  

G

GeolocationPermissions This class is used to manage permissions for the WebView's Geolocation JavaScript API. 
GeolocationPermissionsCallback A callback interface used by the host application to set the Geolocation permission state for an origin. 

H

HttpAuthHandler Represents a request for HTTP authentication. 

I

ISelectionInterface 内核选择复制状态回调接口处理类, 设置方法参考setSelectListener(ISelectionInterface) 
IX5JsError  
IX5JsValue  
IX5JsValue.JsValueFactory  
IX5ScrollListener 监测WebView的overScroll行为。 
IX5WebBackForwardListClient 历史记录变化回调接口类,可以用来维护历史记录列表, 设置方法参考 setWebBackForwardListClient(IX5WebBackForwardListClient) 
IX5WebChromeClient  
IX5WebChromeClient.CustomViewCallback A callback interface used by the host application to notify the current page that its custom view has been dismissed. 
IX5WebChromeClientExtension 为了避免app在每次更新sdk后都遇到编译错误,在设置IX5WebChromeClientExtension时(setWebChromeClientExtension(IX5WebChromeClientExtension)) 需要创建ProxyWebChromeClientExtension对象并重写需要的方法,不要直接利用接口IX5WebChromeClientExtension构建对象, 利用接口构建对象会造成重写全部方法且后续接口增加会造成编译不过的问题 
IX5WebHistoryItem  
IX5WebSettingsExtension  
IX5WebViewBase  
IX5WebViewBase.FindListener Interface to listen for find results. 
IX5WebViewClientExtension 为了避免app在每次更新sdk后都遇到编译错误,在设置IX5WebViewClientExtension时(setWebViewClientExtension(IX5WebViewClientExtension)) 需要创建ProxyWebViewClientExtension对象并重写需要的方法,不要直接利用接口IX5WebViewClientExtension构建对象, 利用接口构建对象会造成重写全部方法且后续接口增加会造成编译不过的问题 
IX5WebViewExtension X5 WebView 扩展类 

J

JsContext 每个 JsContext 实例表示一个 JavaScript 执行环境,用于执行 JavaScript 脚本,访问 JavaScript 中定义和计算出的值,以及创建供 JavaScript 访问的对象、方法和函数。 
JsContext.ExceptionHandler 由需要处理 JavaScript 异常的对象实现,如异常上报等。
 
 context.setExceptionHandler(new JsContext.ExceptionHandler() {
    @Override
     public void handleException(JsContext context, JsError error) {
         Log.e(TAG, "handleException message:" + error.getMessage());
     }
 });
 
 
 
JsError JsContext.ExceptionHandler 回调的 JavaScript 运行过程中所触发异常信息。 
JsPromptResult Public class for handling JavaScript prompt requests. 
JsResult An instance of this class is passed as a parameter in various WebChromeClient action notifications. 
JsValue 每个 JsValue 实例是对一个 JavaScript 值的引用,用于对 JavaScript 引擎返回的不特定数据类型的判断以及与 Java 数据类型的转换。 
JsVirtualMachine 每个 JsVirtualMachine 实例表示一个自足的(self-contained) JavaScript 执行环境。 为避免 JavaScript 虚拟机执行过程中占用当前线程时间过长,一般每个 JsVirtualMachine 会单独创建一个 Java 线程 线程执行所有的 JavaScript 操作, JsVirtualMachine 对象及其关联的 JsContext 对象的所有方法调用均会抛送 到该线程执行,如有返回值,则会阻塞当前线程等待返回结果。 使用者也可以通过 JsVirtualMachine(Context, Looper) 指定 Java 线程的 Looper 构造 JsVirtualMachine 实例,如指定当前线程以减少跨线程操作,或自己创建 Java 线程,以处理一些初始化操作。 

M

MediaAccessPermissionsCallback 当网页请求摄像头,MCI权限时将会回调 onPermissionRequest(String, long, MediaAccessPermissionsCallback) 其中callback为该类的实例,可以利用该回调接口设置允许获取的权限类型,以及对应的授权是否缓存 
MimeTypeMap Two-way map that maps MIME-types to file extensions and vice versa. 

P

PermissionRequest This class defines a permission request and is used when web content requests access to protected resources. 
ProxyWebChromeClientExtension 为了避免app在每次更新sdk后都遇到编译错误,在设置IX5WebChromeClientExtension时(setWebChromeClientExtension(IX5WebChromeClientExtension)) 需要创建ProxyWebChromeClientExtension对象并重写需要的方法,不要直接利用接口IX5WebChromeClientExtension构建对象, 利用接口构建对象会造成重写全部方法且后续接口增加会造成编译不过的问题 
ProxyWebViewClientExtension 为了避免app在每次更新sdk后都遇到编译错误,在设置IX5WebViewClientExtension时(setWebViewClientExtension(IX5WebViewClientExtension)) 需要创建ProxyWebViewClientExtension对象并重写需要的方法,不要直接利用接口IX5WebViewClientExtension构建对象, 利用接口构建对象会造成重写全部方法且后续接口增加会造成编译不过的问题 

Q

QbSdk TBS的全局静态控制类 
QbSdk.PreInitCallback 内核初始化完成回调,参考initX5Environment(Context, QbSdk.PreInitCallback)preInit(Context, QbSdk.PreInitCallback)  

S

ServiceWorkerClient Base class for clients to capture Service Worker related callbacks, see ServiceWorkerController for usage example. 
ServiceWorkerController Manages Service Workers used by WebView. 
ServiceWorkerWebSettings Manages settings state for all Service Workers. 
SslError This class represents a set of one or more SSL errors and the associated SSL certificate. 
SslErrorHandler Represents a request for handling an SSL error. 

T

TbsCommonCode TBS通用码,用户可自行处理的下载、安装状态码 
TbsCoreSettings  
TbsListener 内核下载/安装过程中的回调 TbsCommonCode 参考错误码详情 

U

UrlRequest Controls an HTTP request (GET, PUT, POST etc). 
UrlRequest.Builder Builder for UrlRequests. 
UrlRequest.Callback Users of Cronet extend this class to receive callbacks indicating the progress of a UrlRequest being processed. 
UrlRequestBuilderImpl  
UrlResponseInfo Basic information about a response. 
UrlResponseInfo.HeaderBlock Unmodifiable container of response headers or trailers. 
URLUtil  

V

ValueCallback<T> A callback interface used to provide values asynchronously. 

W

WebBackForwardList This class contains the back/forward list for a WebView. 
WebChromeClient  
WebChromeClient.FileChooserParams Parameters used in the onShowFileChooser(WebView, ValueCallback, WebChromeClient.FileChooserParams) method. 
WebHistoryItem A convenience class for accessing fields in an entry in the back/forward list of a WebView. 
WebResourceError Encapsulates information about errors occured during loading of web resources. 
WebResourceRequest Encompasses parameters to the shouldInterceptRequest(WebView, WebResourceRequest) method. 
WebResourceResponse Encapsulates a resource response. 
WebSettings  
WebSettings.LayoutAlgorithm Enum for controlling the layout of html. 
WebStorage This class is used to manage the JavaScript storage APIs provided by the WebView
WebStorage.Origin This class encapsulates information about the amount of storage currently used by an origin for the JavaScript storage APIs. 
WebStorage.QuotaUpdater This interface is deprecated. This class is obsolete and no longer used.  
WebView  
WebView.HitTestResult Hit test result  
WebView.WebViewTransport Transportation object for returning WebView across thread boundaries. 
WebViewCallbackClient  
WebViewClient  
WebViewClient.RenderProcessGoneDetail  
WebViewDatabase This class allows developers to determine whether any WebView used in the application has stored any of the following types of browsing data and to clear any such stored data for all WebViews in the application. 

X

X5netException Base exception passed to UrlRequest.Callback.onFailed()