public class

Plugin

extends Object
java.lang.Object
   ↳ android.webkit.Plugin

Class Overview

Represents a plugin (Java equivalent of the PluginPackageAndroid C++ class in libs/WebKitLib/WebKit/WebCore/plugins/android/)

Summary

Nested Classes
interface Plugin.PreferencesClickHandler  
Public Constructors
Plugin(String name, String path, String fileName, String description)
Public Methods
void dispatchClickEvent(Context context)
Invokes the click handler for this plugin.
String getDescription()
String getFileName()
String getName()
String getPath()
void setClickHandler(Plugin.PreferencesClickHandler handler)
void setDescription(String description)
void setFileName(String fileName)
void setName(String name)
void setPath(String path)
String toString()
Returns a string containing a concise, human-readable description of this object.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Plugin (String name, String path, String fileName, String description)

Since: API Level 1

Public Methods

public void dispatchClickEvent (Context context)

Since: API Level 1

Invokes the click handler for this plugin.

public String getDescription ()

Since: API Level 1

public String getFileName ()

Since: API Level 1

public String getName ()

Since: API Level 1

public String getPath ()

Since: API Level 1

public void setClickHandler (Plugin.PreferencesClickHandler handler)

Since: API Level 1

public void setDescription (String description)

Since: API Level 1

public void setFileName (String fileName)

Since: API Level 1

public void setName (String name)

Since: API Level 1

public void setPath (String path)

Since: API Level 1

public String toString ()

Since: API Level 1

Returns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation simply concatenates the class name, the '@' sign and a hexadecimal representation of the object's hashCode(), that is, it is equivalent to the following expression:

 getClass().getName() + '@' + Integer.toHexString(hashCode())
 

Returns
  • a printable representation of this object.