Stay organized with collections
Save and categorize content based on your preferences.
WebIconDatabase.IconListener
public
static
interface
WebIconDatabase.IconListener
android.webkit.WebIconDatabase.IconListener
|
This interface was deprecated
in API level 18.
This interface is obsolete.
Interface for receiving icons from the database.
Summary
Public methods |
abstract
void
|
onReceivedIcon(String url, Bitmap icon)
Called when the icon has been retrieved from the database and the
result is non-null.
|
Public methods
onReceivedIcon
public abstract void onReceivedIcon (String url,
Bitmap icon)
Called when the icon has been retrieved from the database and the
result is non-null.
Parameters |
url |
String : The url passed in the request. |
icon |
Bitmap : The favicon for the given url. |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# WebIconDatabase.IconListener\n\nAdded in [API level 1](/guide/topics/manifest/uses-sdk-element#ApiLevels) \nDeprecated in [API level\n18](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\nWebIconDatabase.IconListener\n============================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/android/webkit/WebIconDatabase.IconListener \"View this page in Kotlin\") \\|Java\n\n\n`\npublic\nstatic\n\n\ninterface\nWebIconDatabase.IconListener\n`\n\n\n`\n\n\n`\n\n|---------------------------------------------|\n| android.webkit.WebIconDatabase.IconListener |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\n\n**This interface was deprecated\nin API level 18.** \n\nThis interface is obsolete.\n\nInterface for receiving icons from the database.\n\nSummary\n-------\n\n| ### Public methods ||\n|------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` abstract void` | ` `[onReceivedIcon](/reference/android/webkit/WebIconDatabase.IconListener#onReceivedIcon(java.lang.String,%20android.graphics.Bitmap))`(`[String](/reference/java/lang/String)` url, `[Bitmap](/reference/android/graphics/Bitmap)` icon) ` Called when the icon has been retrieved from the database and the result is non-null. |\n\nPublic methods\n--------------\n\n### onReceivedIcon\n\nAdded in [API level 1](/guide/topics/manifest/uses-sdk-element#ApiLevels) \n\n```\npublic abstract void onReceivedIcon (String url, \n Bitmap icon)\n```\n\nCalled when the icon has been retrieved from the database and the\nresult is non-null.\n\n\u003cbr /\u003e\n\n| Parameters ||\n|--------|-------------------------------------------------|\n| `url` | `String`: The url passed in the request. \u003cbr /\u003e |\n| `icon` | `Bitmap`: The favicon for the given url. \u003cbr /\u003e |"]]