@NotThreadSafe public final class Setting extends Object
Constructor and Description |
---|
Setting(Context context,
Plugin plugin)
Constructs a new plug-in setting.
|
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroys the plug-in setting, freeing up resources that were used to fire
the plug-in.
|
void |
fire(Bundle pluginBundle)
Performs a blocking fire of the plug-in's setting action.
|
void |
fire(PluginInstanceData data)
Performs a blocking fire of the plug-in's setting action.
|
@Slow(value=SECONDS) public void fire(PluginInstanceData data)
data
- The plug-in's instance data previously saved by the Edit Activity.@Slow(value=SECONDS) public void fire(Bundle pluginBundle)
pluginBundle
- The plug-in's instance data previously saved by the Edit Activity,
already deserialized back into a Bundle.public void destroy()