namespace MediaBrowser.Model.Plugins
{
///
/// Plugin load status.
///
public enum PluginStatus
{
///
/// This plugin requires a restart in order for it to load. This is a memory only status.
/// The actual status of the plugin after reload is present in the manifest.
/// eg. A disabled plugin will still be active until the next restart, and so will have a memory status of Restart,
/// but a disk manifest status of Disabled.
///
Restart = 1,
///
/// This plugin is currently running.
///
Active = 0,
///
/// This plugin has been marked as disabled.
///
Disabled = -1,
///
/// This plugin does not meet the TargetAbi requirements.
///
NotSupported = -2,
///
/// This plugin caused an error when instantiated. (Either DI loop, or exception)
///
Malfunctioned = -3,
///
/// This plugin has been superceded by another version.
///
Superceded = -4,
///
/// An attempt to remove this plugin from disk will happen at every restart.
/// It will not be loaded, if unable to do so.
///
Deleted = -5
}
}