Freigeben über


WebView.IPictureListener.OnNewPicture(WebView, Picture) Method

Definition

Caution

deprecated

Used to provide notification that the WebView's picture has changed.

[Android.Runtime.Register("onNewPicture", "(Landroid/webkit/WebView;Landroid/graphics/Picture;)V", "GetOnNewPicture_Landroid_webkit_WebView_Landroid_graphics_Picture_Handler:Android.Webkit.WebView/IPictureListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
[System.Obsolete("deprecated")]
public void OnNewPicture (Android.Webkit.WebView? view, Android.Graphics.Picture? picture);
[<Android.Runtime.Register("onNewPicture", "(Landroid/webkit/WebView;Landroid/graphics/Picture;)V", "GetOnNewPicture_Landroid_webkit_WebView_Landroid_graphics_Picture_Handler:Android.Webkit.WebView/IPictureListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
[<System.Obsolete("deprecated")>]
abstract member OnNewPicture : Android.Webkit.WebView * Android.Graphics.Picture -> unit

Parameters

view
WebView

the WebView that owns the picture

picture
Picture

the new picture. Applications targeting android.os.Build.VERSION_CODES#JELLY_BEAN_MR2 or above will always receive a null Picture.

Attributes

Remarks

Used to provide notification that the WebView's picture has changed. See WebView#capturePicture for details of the picture.

This member is deprecated. Deprecated due to internal changes.

Java documentation for android.webkit.WebView.PictureListener.onNewPicture(android.webkit.WebView, android.graphics.Picture).

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