Build.VERSION_CODES.JELLY_BEAN_MR2
@Deprecated public abstract class WebIconDatabase extends Object
open(java.lang.String)
to enable favicon functionality on all WebView instances in this process.Modifier and Type | Class and Description |
---|---|
static interface |
WebIconDatabase.IconListener
Deprecated.
This interface is obsolete.
|
Constructor and Description |
---|
WebIconDatabase()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
bulkRequestIconForPageUrl(ContentResolver cr,
String where,
WebIconDatabase.IconListener listener)
Deprecated.
|
abstract void |
close()
Deprecated.
Close the shared instance of the icon database.
|
static WebIconDatabase |
getInstance()
Deprecated.
Get the global instance of WebIconDatabase.
|
abstract void |
open(String path)
Deprecated.
Open a the icon database and store the icons in the given path.
|
abstract void |
releaseIconForPageUrl(String url)
Deprecated.
Release the icon for the given page url.
|
abstract void |
removeAllIcons()
Deprecated.
Removes all the icons in the database.
|
abstract void |
requestIconForPageUrl(String url,
WebIconDatabase.IconListener listener)
Deprecated.
Request the Bitmap representing the icon for the given page
url.
|
abstract void |
retainIconForPageUrl(String url)
Deprecated.
Retain the icon for the given page url.
|
public abstract void open(String path)
path
- The directory path where the icon database will be stored.public abstract void close()
public abstract void removeAllIcons()
public abstract void requestIconForPageUrl(String url, WebIconDatabase.IconListener listener)
url
- The page's url.listener
- An implementation on IconListener to receive the result.public abstract void bulkRequestIconForPageUrl(ContentResolver cr, String where, WebIconDatabase.IconListener listener)
public abstract void retainIconForPageUrl(String url)
url
- The page's url.public abstract void releaseIconForPageUrl(String url)
url
- The page's url.public static WebIconDatabase getInstance()