Condividi tramite


WebChromeClient.OnReceivedIcon(WebView, Bitmap) Method

Definition

Notify the host application of a new favicon for the current page.

[Android.Runtime.Register("onReceivedIcon", "(Landroid/webkit/WebView;Landroid/graphics/Bitmap;)V", "GetOnReceivedIcon_Landroid_webkit_WebView_Landroid_graphics_Bitmap_Handler")]
public virtual void OnReceivedIcon (Android.Webkit.WebView? view, Android.Graphics.Bitmap? icon);
[<Android.Runtime.Register("onReceivedIcon", "(Landroid/webkit/WebView;Landroid/graphics/Bitmap;)V", "GetOnReceivedIcon_Landroid_webkit_WebView_Landroid_graphics_Bitmap_Handler")>]
abstract member OnReceivedIcon : Android.Webkit.WebView * Android.Graphics.Bitmap -> unit
override this.OnReceivedIcon : Android.Webkit.WebView * Android.Graphics.Bitmap -> unit

Parameters

view
WebView

The WebView that initiated the callback.

icon
Bitmap

A Bitmap containing the favicon for the current page.

Attributes

Remarks

Notify the host application of a new favicon for the current page.

Java documentation for android.webkit.WebChromeClient.onReceivedIcon(android.webkit.WebView, android.graphics.Bitmap).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to