ApplicationsToMonitor

public struct ApplicationsToMonitor : Codable

A plugin can request to be notified when some applications are launched or terminated.

In order to do so, the ApplicationsToMonitor object should contain for each platform an array specifying the list of application identifiers to monitor.

Note

On macOS the application bundle identifier is used while the exe filename is used on Windows.
  • mac

    Mac applications to monitor

    Declaration

    Swift

    public let mac: [String]
  • Windows applications to monitor

    Declaration

    Swift

    public let windows: [String]
  • Initialize new applications to monitor.

    Declaration

    Swift

    public init(mac: [String] = [], windows: [String] = [])