Example usage for android.webkit WebView setPictureListener

List of usage examples for android.webkit WebView setPictureListener

Introduction

In this page you can find the example usage for android.webkit WebView setPictureListener.

Prototype

@Deprecated
public void setPictureListener(PictureListener listener) 

Source Link

Document

Sets the Picture listener.

Usage

From source file:com.facebook.react.views.webview.ReactWebViewManager.java

@ReactProp(name = "onContentSizeChange")
public void setOnContentSizeChange(WebView view, boolean sendContentSizeChangeEvents) {
    if (sendContentSizeChangeEvents) {
        view.setPictureListener(getPictureListener());
    } else {//from   w ww  . j  a v a 2  s .  com
        view.setPictureListener(null);
    }
}