Readonly
helpWhen the app is launched with the --help argument, this attribute is retrieved and displayed to the user (on stdout). The text should have embedded newlines which wrap at 76 columns, and should include a newline at the end. By convention, the right column which contains flag descriptions begins at the 24th character.
Optional
aInstancePtr: objectA run time mechanism for interface discovery.
NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.
aInstancePtr must not be null.
[in] A requested interface IID
[out] A pointer to an interface pointer to receive the result.
Process a command line. If this handler finds arguments that it understands, it should perform the appropriate actions (such as opening a window), and remove the arguments from the command-line array.
NS_ERROR_ABORT to immediately cease command-line handling (if this is STATE_INITIAL_LAUNCH, quits the app). All other exceptions are silently ignored.
Run the named background task.
the name of the task to be run.
the command line of this invocation.
This returns a promise which resolves to an integer exit code, 0 when the task succeeded, >0 otherwise. The task manager will quit after this promise resolves.
Generated using TypeDoc
Import and run named backgroundtask implementations.