public static interface WebView.PictureListener

android.webkit.WebView.PictureListener



This interface was deprecated in API level 12.
This interface is now obsolete.

Interface to listen for new pictures as they change.

Summary

Public methods

abstract void onNewPicture(WebView view, Picture picture)

This method is deprecated. Deprecated due to internal changes.

Public methods

onNewPicture

public abstract void onNewPicture (WebView view, 
                Picture picture)

This method is deprecated.
Deprecated due to internal changes.

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

Parameters
view WebView: the WebView that owns the picture
picture Picture: the new picture. Applications targeting Build.VERSION_CODES.JELLY_BEAN_MR2 or above will always receive a null Picture.

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.