Skip to content

Most visited

Recently visited

navigation

WebSettings.PluginState

public static final enum WebSettings.PluginState
extends Enum<WebSettings.PluginState>

java.lang.Object
   ↳ java.lang.Enum<android.webkit.WebSettings.PluginState>
     ↳ android.webkit.WebSettings.PluginState


The plugin state effects how plugins are treated on a page. ON means that any object will be loaded even if a plugin does not exist to handle the content. ON_DEMAND means that if there is a plugin installed that can handle the content, a placeholder is shown until the user clicks on the placeholder. Once clicked, the plugin will be enabled on the page. OFF means that all plugins will be turned off and any fallback content will be used.

Summary

Enum values

WebSettings.PluginState  OFF

 

WebSettings.PluginState  ON

 

WebSettings.PluginState  ON_DEMAND

 

Public methods

static WebSettings.PluginState valueOf(String name)
static final PluginState[] values()

Inherited methods

From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum values

ON_DEMAND

Added in API level 8
WebSettings.PluginState ON_DEMAND

Public methods

valueOf

Added in API level 8
WebSettings.PluginState valueOf (String name)

Parameters
name String
Returns
WebSettings.PluginState

values

Added in API level 8
PluginState[] values ()

Returns
PluginState[]
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.