| java.lang.Object | |
| ↳ | android.webkit.WebIconDatabase |
Functions for manipulating the icon database used by WebView. These functions require that a WebView be constructed before being invoked and WebView.getIconDatabase() will return a WebIconDatabase object. This WebIconDatabase object is a single instance and all methods operate on that single object.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| WebIconDatabase.IconListener | Interface for receiving icons from the database. | ||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Close the shared instance of the icon database.
| |||||||||||
Get the global instance of WebIconDatabase.
| |||||||||||
Open a the icon database and store the icons in the given path.
| |||||||||||
Release the icon for the given page url.
| |||||||||||
Removes all the icons in the database.
| |||||||||||
Request the Bitmap representing the icon for the given page
url.
| |||||||||||
Retain the icon for the given page url.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object
| |||||||||||
Get the global instance of WebIconDatabase.
Open a the icon database and store the icons in the given path.
| path | The directory path where the icon database will be stored. |
|---|
Release the icon for the given page url.
| url | The page's url. |
|---|
Request the Bitmap representing the icon for the given page url. If the icon exists, the listener will be called with the result.
| url | The page's url. |
|---|---|
| listener | An implementation on IconListener to receive the result. |
Retain the icon for the given page url.
| url | The page's url. |
|---|