Interface: DisabledPluginInfo

DisabledPluginInfo

Disabled plugin information: returned by plugins that fail to initialize, supplying metainformtion for creating non-functional stub-function for the plugin and error information/feedback.
Properties:
Name Type Attributes Description
mod String name / ID of the (media) plugin
disabled Array.<String> | PlainObject <optional>
OPTIONAL if list of (disabled/non-functional) function names:
stub functions will be created (which try to invoke an error-callback from the arguments or log an error)
if dictionary of functions:
function implementations will be used as plugin implementation
message String <optional>
OPTIONAL a message to append to the error message for created stub-functions (see `disabled`)
errorCallbackName String <optional>
name / ID of the (media) plugin option-name for error-callbacks when supplied via options-argument (used created stub-functions, see `disabled`) DEFAULT: "error"
See:
  • mmir.MediaManager#onInitialized