FileDocCategorySizeDatePackage
Plugin.javaAPI DocAndroid 5.1 API6194Thu Mar 12 22:22:10 GMT 2015android.webkit

Plugin

public class Plugin extends Object
Represents a plugin (Java equivalent of the PluginPackageAndroid C++ class in libs/WebKitLib/WebKit/WebCore/plugins/android/)
hide
deprecated
This interface was intended to be used by Gears. Since Gears was deprecated, so is this class.

Fields Summary
private String
mName
private String
mPath
private String
mFileName
private String
mDescription
private PreferencesClickHandler
mHandler
Constructors Summary
public Plugin(String name, String path, String fileName, String description)

hide
deprecated
This interface was intended to be used by Gears. Since Gears was deprecated, so is this class.

        mName = name;
        mPath = path;
        mFileName = fileName;
        mDescription = description;
        mHandler = new DefaultClickHandler();
    
Methods Summary
public voiddispatchClickEvent(android.content.Context context)
Invokes the click handler for this plugin.

hide
deprecated
This interface was intended to be used by Gears. Since Gears was deprecated, so is this class.

        if (mHandler != null) {
            mHandler.handleClickEvent(context);
        }
    
public java.lang.StringgetDescription()

hide
deprecated
This interface was intended to be used by Gears. Since Gears was deprecated, so is this class.

        return mDescription;
    
public java.lang.StringgetFileName()

hide
deprecated
This interface was intended to be used by Gears. Since Gears was deprecated, so is this class.

        return mFileName;
    
public java.lang.StringgetName()

hide
deprecated
This interface was intended to be used by Gears. Since Gears was deprecated, so is this class.

        return mName;
    
public java.lang.StringgetPath()

hide
deprecated
This interface was intended to be used by Gears. Since Gears was deprecated, so is this class.

        return mPath;
    
public voidsetClickHandler(android.webkit.Plugin$PreferencesClickHandler handler)

hide
deprecated
This interface was intended to be used by Gears. Since Gears was deprecated, so is this class.

        mHandler = handler;
    
public voidsetDescription(java.lang.String description)

hide
deprecated
This interface was intended to be used by Gears. Since Gears was deprecated, so is this class.

        mDescription = description;
    
public voidsetFileName(java.lang.String fileName)

hide
deprecated
This interface was intended to be used by Gears. Since Gears was deprecated, so is this class.

        mFileName = fileName;
    
public voidsetName(java.lang.String name)

hide
deprecated
This interface was intended to be used by Gears. Since Gears was deprecated, so is this class.

        mName = name;
    
public voidsetPath(java.lang.String path)

hide
deprecated
This interface was intended to be used by Gears. Since Gears was deprecated, so is this class.

        mPath = path;
    
public java.lang.StringtoString()

hide
deprecated
This interface was intended to be used by Gears. Since Gears was deprecated, so is this class.

        return mName;