A component which represents a plugin

Methods

destroy ():Void

Kill the plugin

events ():ModuleEvents

The events collection for module notifications

handleModuleNotification (result:ModuleNotificationResult):IPluginComponent

Callback to handle module notifications

Parameters:

result

Contains information specific to the notification

handlePlayerNotification (result:PlayerNotificationResult):IPluginComponent

Callback to handle higher level player notifications

Parameters:

result

Contains information specific to the notification

id ():String

Identifier of the plugin component

init (config:Dynamic, pluginConfig:PlayerConfigPluginData):IPluginComponent

Initialize the plugin

Parameters:

config

Plugin configuration data

pluginConfig

metadata to pass to the plugin for component specific configuration

updateConfig (config:Dynamic):IPluginComponent

Updates the configuration of the plugin instance

Parameters:

config

Partial config to update