Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)   
Deprecated in [API level 12](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

# WebView.PictureListener

*** ** * ** ***

` public static interface WebView.PictureListener `   
` `

|---|
| android.webkit.WebView.PictureListener |

<br />

*** ** * ** ***

<br />

**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` | ` https://developer.android.com/reference/android/webkit/WebView.PictureListener#onNewPicture(android.webkit.WebView,%20android.graphics.Picture)(https://developer.android.com/reference/android/webkit/WebView view, https://developer.android.com/reference/android/graphics/Picture picture) ` *This method is deprecated. Deprecated due to internal changes.* |

## Public methods

### onNewPicture

Added in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public abstract void onNewPicture (WebView view, 
                Picture picture)
```

<br />

**This method is deprecated.**   

Deprecated due to internal changes.

Used to provide notification that the WebView's picture has changed. See `https://developer.android.com/reference/android/webkit/WebView#capturePicture()` for details of the picture.

<br />

| Parameters ||
|---|---|
| `view` | `WebView`: the WebView that owns the picture <br /> |
| `picture` | `Picture`: the new picture. Applications targeting `https://developer.android.com/reference/android/os/Build.VERSION_CODES#JELLY_BEAN_MR2` or above will always receive a `null` Picture. <br /> |