Android APIs
Added in API level 1


Provides tools for browsing the web.

For more information about building apps with web-based content, see the Web Apps Overview.


JavascriptInterface Annotation that allows exposing methods to JavaScript. 


GeolocationPermissions.Callback A callback interface used by the host application to set the Geolocation permission state for an origin. 
PluginStub This interface is used to implement plugins in a WebView. 
ValueCallback<T> A callback interface used to provide values asynchronously. 
WebChromeClient.CustomViewCallback A callback interface used by the host application to notify the current page that its custom view has been dismissed. 
WebIconDatabase.IconListener This interface was deprecated in API level 18. This interface is obsolete.  
WebResourceRequest Encompasses parameters to the shouldInterceptRequest(WebView, WebResourceRequest) method. 
WebStorage.QuotaUpdater This interface was deprecated in API level 19. This class is obsolete and no longer used.  
WebView.FindListener Interface to listen for find results. 
WebView.PictureListener This interface was deprecated in API level 12. This interface is now obsolete.  


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. 
CookieManager Manages the cookies used by an application's WebView instances. 
CookieSyncManager This class was deprecated in API level 21. The WebView now automatically syncs cookies as necessary. You no longer need to create or use the CookieSyncManager. To manually force a sync you can use the CookieManager method flush() which is a synchronous replacement for sync().  
DateSorter Sorts dates into the following groups: Today Yesterday seven days ago one month ago older than a month ago  
GeolocationPermissions This class is used to manage permissions for the WebView's Geolocation JavaScript API. 
HttpAuthHandler Represents a request for HTTP authentication. 
JsPromptResult Public class for handling JavaScript prompt requests. 
JsResult An instance of this class is passed as a parameter in various WebChromeClient action notifications. 
MimeTypeMap Two-way map that maps MIME-types to file extensions and vice versa. 
PermissionRequest This class defines a permission request and is used when web content requests access to protected resources. 
SslErrorHandler Represents a request for handling an SSL error. 
WebBackForwardList This class contains the back/forward list for a WebView. 
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. 
WebIconDatabase This class was deprecated in API level 18. This class is only required when running on devices up to JELLY_BEAN_MR2  
WebMessage The Java representation of the HTML5 PostMessage event. 
WebMessagePort The Java representation of the HTML5 message ports. 
WebMessagePort.WebMessageCallback The listener for handling MessagePort events. 
WebResourceError Encapsulates information about errors occured during loading of web resources. 
WebResourceResponse Encapsulates a resource response. 
WebSettings Manages settings state for a WebView. 
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. 

A View that displays web pages. 

WebView.VisualStateCallback Callback interface supplied to postVisualStateCallback(long, WebView.VisualStateCallback) for receiving notifications about the visual state. 
WebView.WebViewTransport Transportation object for returning WebView across thread boundaries. 
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. 
WebViewFragment A fragment that displays a WebView. 


WebSettings.LayoutAlgorithm Enum for controlling the layout of html. 
WebSettings.PluginState The plugin state effects how plugins are treated on a page. 
WebSettings.TextSize This enum was deprecated in API level 14. Use setTextZoom(int) and getTextZoom() instead.  
WebSettings.ZoomDensity Enum for specifying the WebView's desired density.