to top
Android APIs
Added in API level 1
package

android.webkit

Provides tools for browsing the web.

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

Interfaces

DownloadListener  
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.  
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.  

Classes

ConsoleMessage Public class representing a JavaScript console message from WebCore. 
CookieManager Manages the cookies used by an application's WebView instances. 
CookieSyncManager The CookieSyncManager is used to synchronize the browser cookie store between RAM and permanent storage. 
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. 
SslErrorHandler Represents a request for handling an SSL error. 
URLUtil  
WebBackForwardList This class contains the back/forward list for a WebView. 
WebChromeClient  
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  
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. 
WebView

A View that displays web pages. 

WebView.HitTestResult  
WebView.WebViewTransport Transportation object for returning WebView across thread boundaries. 
WebViewClient  
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. 

Enums

ConsoleMessage.MessageLevel  
WebSettings.LayoutAlgorithm Enum for controlling the layout of html. 
WebSettings.PluginState The plugin state effects how plugins are treated on a page. 
WebSettings.RenderPriority  
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.