Skip to main content

ClientApplication Class

This class can be used to link a Loupedeck plugin to an application.

public abstract class ClientApplication : System.IDisposable

Inheritance System.Object → ClientApplication

Implements System.IDisposable

Methods​

ClientApplication.GetApplicationStatus() Method​

Checks if the client application is installed.

public virtual Loupedeck.ClientApplicationStatus GetApplicationStatus();

Returns​

Loupedeck.ClientApplicationStatus
Status of the client application.

Remarks​

Override this method to define how the client application status is obtained.

ClientApplication.GetBundleName() Method​

Defines the application bundle that is connected to the plugin.

protected virtual string GetBundleName();

Returns​

System.String
Bundle identifier. For example "com.apple.finder".

Remarks​

For macOS applications, override this method to link one bundle to the plugin. See also GetBundleNames().

ClientApplication.GetBundleNames() Method​

Defines the application bundles that are connected to the plugin.

protected virtual string[] GetBundleNames();

Returns​

System.String[]
Bundle identifiers.

Remarks​

For macOS applications, override this method to link more than one bundle to the plugin. See also GetBundleName().

ClientApplication.GetProcessName() Method​

Defines the application process that is connected to the plugin.

protected virtual string GetProcessName();

Returns​

System.String
Process name.

Remarks​

For Windows applications, override this method to link one process to the plugin. See also GetProcessNames().

ClientApplication.GetProcessNames() Method​

Defines the application processes that are connected to the plugin.

protected virtual string[] GetProcessNames();

Returns​

System.String[]
Process names.

Remarks​

For Windows applications, override this method to link more than one process to the plugin. See also GetProcessName().

ClientApplication.IsProcessNameSupported(string) Method​

Tests whether the given process name is supported by the plugin.

protected virtual bool IsProcessNameSupported(string processName);

Parameters​

processName System.String

The name of the process to test.

Returns​

System.Boolean
true if the process name is supported, false otherwise.

ClientApplication.IsProcessNameSupported(string, string) Method​

Tests whether the given process name is supported by the plugin.

protected virtual bool IsProcessNameSupported(string processName, string processFilePath);

Parameters​

processName System.String

The name of the process to test.

processFilePath System.String

The full path of the main module of the process to test.

Returns​

System.Boolean
true if the process name is supported, false otherwise.