ApplicationLauncherCommands

interface ApplicationLauncherCommands

Known direct subclasses
ApplicationLauncher

API for the ApplicationLauncher trait.


Summary

Public functions

hideApp

suspend fun hideApp(optionalArgs: ApplicationLauncherTrait.HideAppCommand.OptionalArgs.() -> Unit = {}): ApplicationLauncherTrait.HideAppCommand.Response

Hide the specified app.

Parameters
optionalArgs: ApplicationLauncherTrait.HideAppCommand.OptionalArgs.() -> Unit = {}

Receiver for the optional arguments of this command

Returns
ApplicationLauncherTrait.HideAppCommand.Response

The outcome of the HideApp command.

launchApp

suspend fun launchApp(optionalArgs: ApplicationLauncherTrait.LaunchAppCommand.OptionalArgs.() -> Unit = {}): ApplicationLauncherTrait.LaunchAppCommand.Response

Launches an app.

Parameters
optionalArgs: ApplicationLauncherTrait.LaunchAppCommand.OptionalArgs.() -> Unit = {}

Receiver for the optional arguments of this command

Returns
ApplicationLauncherTrait.LaunchAppCommand.Response

The result of the completed LaunchApp command.

stopApp

suspend fun stopApp(optionalArgs: ApplicationLauncherTrait.StopAppCommand.OptionalArgs.() -> Unit = {}): ApplicationLauncherTrait.StopAppCommand.Response

Stop the app.

Parameters
optionalArgs: ApplicationLauncherTrait.StopAppCommand.OptionalArgs.() -> Unit = {}

Receiver for the optional arguments of this command

Returns
ApplicationLauncherTrait.StopAppCommand.Response

The result of the completed StopApp command.