Added in API level 1
Deprecated in API level 12

PictureListener

interface PictureListener
android.webkit.WebView.PictureListener

Interface to listen for new pictures as they change.

Summary

Public methods
abstract Unit
onNewPicture(view: WebView!, picture: Picture?)

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

Public methods

onNewPicture

Added in API level 1
abstract fun onNewPicture(
    view: WebView!,
    picture: Picture?
): Unit

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 android.os.Build.VERSION_CODES#JELLY_BEAN_MR2 or above will always receive a null Picture.