Click or drag to resize

IGenericPlugin Interface

Generic plugins provide no specific functionality but allow implementation of functions via API calls or commands.

Namespace: CompreDriveSDK.Plugins
Assembly: CompreDriveSDK (in CompreDriveSDK.dll) Version: 1.17.16
Syntax
public interface IGenericPlugin : ICommandAcceptor

The IGenericPlugin type exposes the following members.

Methods
 NameDescription
Public methodAcceptApiInstance Is called during plugin initialization on CompreDriveControl start and allows the plugin to receive an API interface of the CompreDriveControl instance it is loaded into.
(Inherited from ICommandAcceptor)
Public methodExecuteCommand Execute the given command.
(Inherited from ICommandAcceptor)
Public methodGetAvailableCommands Get the commands available to run.
(Inherited from ICommandAcceptor)
Public methodSetup Is called once during CompreDriveControl startup and allows for initialization.
Public methodShutdown Is called once during CompreDriveControl shutdown. Allows for cleaning up plugin resources.
Public methodStartPlugin Is called when the plugin is activated, i.e. by the user clicking the start plugin button.
Public methodStopPlugin Is called when the plugin is deactivated, i.e. by the user clicking the stop plugin button.
Top
See Also