Code example for ValueCallback

Methods: onReceiveValue

0
    @Override 
    public void getVisitedHistory(ValueCallback<String[]> callback) {
        if (mWebChromeClient != null) {
            mWebChromeClient.getVisitedHistory(callback);
        } else { 
            callback.onReceiveValue(new String[] {});
        } 
    } 
 
    @Override 
    public void onReceivedTitle(String title) {
        if (mWebChromeClient != null) {
            mWebChromeClient.onReceivedTitle(mWebView, title);
        } 
    } 
 
    //// WebViewClient proxy methods. 
    @Override 
    public void onPageStarted(String url) {
        if (mWebViewClient != null)
            mWebViewClient.onPageStarted(mWebView, url, null);