to top
Android APIs
Added in API level 1
Deprecated since API level 12
public static interface

WebView.PictureListener

android.webkit.WebView.PictureListener

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

Class Overview

Interface to listen for new pictures as they change.

Summary

Public Methods
abstract void onNewPicture(WebView view, Picture picture)
This method was deprecated in API level 12. Deprecated due to internal changes.

Public Methods

public abstract void onNewPicture (WebView view, Picture picture)

Added in API level 1

This method was deprecated in API level 12.
Deprecated due to internal changes.

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

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