Example usage for android.webkit WebView getPluginList

List of usage examples for android.webkit WebView getPluginList

Introduction

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

Prototype

@Deprecated
@UnsupportedAppUsage
public static synchronized PluginList getPluginList() 

Source Link

Document

Gets the list of currently loaded plugins.

Usage

From source file:android.webkit.cts.WebViewTest.java

@UiThreadTest
public void testAccessPluginList() {
    if (!NullWebViewUtils.isWebViewAvailable()) {
        return;/*from   ww  w.  j a  v a2s  .  c  o  m*/
    }
    assertNotNull(WebView.getPluginList());

    // can not find a way to install plugins
    mWebView.refreshPlugins(false);
}