Class PluginManager
Class to handle loading/unloading IPlugin
Inheritance
System.Object
PluginManager
Namespace: wikitude.sdk.uwp
Assembly: wikitude.sdk.dll
Syntax
public sealed class PluginManager
Methods
addPlugin(IPlugin)
Add a plugin to the SDK.
Declaration
public bool addPlugin(IPlugin plugin_)
Parameters
Type | Name | Description |
---|---|---|
IPlugin | plugin_ | An object reference conforming to IPlugin interface. |
Returns
Type | Description |
---|---|
System.Boolean | true if loaded successfuly |
getPlugin(String)
Retrieve a plugin object with its identifier.
Declaration
public IPlugin getPlugin(string identifier_)
Parameters
Type | Name | Description |
---|---|---|
System.String | identifier_ | The identifier to the plugin to retrieve. |
Returns
Type | Description |
---|---|
IPlugin | The reference to the plugin. Can be null if not found. |
removePlugin(String)
Remove a plugin from the SDK.
Declaration
public bool removePlugin(string identifier_)
Parameters
Type | Name | Description |
---|---|---|
System.String | identifier_ | The identifier of the plugin to remove. |
Returns
Type | Description |
---|---|
System.Boolean | true if removed successfully |