Most visited

Recently visited

Added in API level 8

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


插件状态影响插件在页面上的处理方式。 ON表示即使插件不存在以处理内容,也会加载任何对象。 ON_DEMAND表示如果安装了可处理内容的插件,则会显示占位符,直到用户单击占位符。 一旦点击,插件将在页面上启用。 OFF意味着所有插件将被关闭,并且将使用任何后备内容。

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[]

Hooray!