IT. Expert System.

Android Reference

WebIconDatabase


android.webkit

Class WebIconDatabase



  • public class WebIconDatabase
    extends Object
    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.
    • Constructor Detail

      • WebIconDatabase

        protected WebIconDatabase()
    • Method Detail

      • open

        public void open(String path)
        Open a the icon database and store the icons in the given path.
        Parameters:
        path - The directory path where the icon database will be stored.
      • close

        public void close()
        Close the shared instance of the icon database.
      • removeAllIcons

        public void removeAllIcons()
        Removes all the icons in the database.
      • requestIconForPageUrl

        public void requestIconForPageUrl(String url,
                                 WebIconDatabase.IconListener listener)
        Request the Bitmap representing the icon for the given page url. If the icon exists, the listener will be called with the result.
        Parameters:
        url - The page's url.
        listener - An implementation on IconListener to receive the result.
      • retainIconForPageUrl

        public void retainIconForPageUrl(String url)
        Retain the icon for the given page url.
        Parameters:
        url - The page's url.
      • releaseIconForPageUrl

        public void releaseIconForPageUrl(String url)
        Release the icon for the given page url.
        Parameters:
        url - The page's url.
      • getInstance

        public static WebIconDatabase getInstance()
        Get the global instance of WebIconDatabase.
        Returns:
        A single instance of WebIconDatabase. It will be the same instance for the current process each time this method is called.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 329 / 158855663. Delta: 0.36110 с