public class PluginInitializationContext extends Object
| Modifier and Type | Field and Description |
|---|---|
Context |
context
Deprecated.
As of release 6.3, replaced by
getActivityContext() |
EventLauncher |
eventLauncher
Deprecated.
As of release 6.3, replaced by
getEventLauncher() |
PluginRegistry |
pluginRegistry
Deprecated.
As of release 6.3, replaced by
getPluginRegistry() |
| Constructor and Description |
|---|
PluginInitializationContext(PluginRegistry registry,
EventLauncher launcher,
HybridWebView webView,
Context context)
Plugin context constructor
|
| Modifier and Type | Method and Description |
|---|---|
Context |
getActivityContext()
Get context of the application's main Activity
|
EventLauncher |
getEventLauncher()
Get event launcher for this context
|
PluginRegistry |
getPluginRegistry()
Get plugin registry
|
HybridWebView |
getWebView()
Get WebView running this plugin
|
@Deprecated public final PluginRegistry pluginRegistry
getPluginRegistry()@Deprecated public final EventLauncher eventLauncher
getEventLauncher()@Deprecated public final Context context
getActivityContext()public PluginInitializationContext(PluginRegistry registry, EventLauncher launcher, HybridWebView webView, Context context)
registry - Registry of pluginslauncher - Event launchercontext - main activity contextpublic PluginRegistry getPluginRegistry()
public EventLauncher getEventLauncher()
public HybridWebView getWebView()
public Context getActivityContext()