Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DisabledPluginInfo

MediaManager.loadPlugin: return value / info when loading media plugins in case they are not functional (e.g. for auto-created stub functions that invoke appropriate error-callback)

Hierarchy

  • DisabledPluginInfo

Index

Properties

Optional disabled

disabled: string[] | {}

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

Optional errorCallbackName

errorCallbackName: string

option-name for error-callbacks when supplied via options-argument (used created stub-functions, see disabled)

default

"error"

Optional message

message: string

a message to append to the error message for created stub-functions (see disabled)

mod

mod: string

name / ID of the (media) plugin

Generated using TypeDoc