# ApplicationLauncher

# ApplicationLauncher


```
@Generated(value = ["GoogleHomePlatformCodegen"])
interface ApplicationLauncher : ApplicationLauncherTrait.Attributes, MatterTrait, ApplicationLauncherCommands
```

<br />

*** ** * ** ***

API for the ApplicationLauncher trait. This trait provides an interface to launch apps.

## Summary

| ### Nested types |
|---|
| `enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncher.Attribute : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/Field` Descriptor enum for this trait's attributes. |
| `enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncher.Command : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html` Descriptor enum for this trait's commands. |

| ### Public functions |
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncher#supports(com.google.home.matter.standard.ApplicationLauncher.Attribute)(attribute: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncher.Attribute)` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncher#supports(com.google.home.matter.standard.ApplicationLauncher.Command)(command: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncher.Command)` |

| ### Public properties |
|---|---|
| `open https://developers.home.google.com/reference/kotlin/com/google/home/TraitFactory<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncher>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncher#factory()` |

| ### Inherited functions |
|---|
| From [com.google.home.matter.standard.ApplicationLauncherCommands](https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncherCommands) |---|---| | `suspend https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncherTrait.HideAppCommand.Response` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncherCommands#hideApp(kotlin.Function1)(optionalArgs: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncherTrait.HideAppCommand.OptionalArgs.() -> https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)` Hide the specified app. | | `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncherTrait.HideAppCommand.Response>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncherCommands#hideAppBatchable(kotlin.Function1)(optionalArgs: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncherTrait.HideAppCommand.OptionalArgs.() -> https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)` The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncherCommands#hideApp(kotlin.Function1)` command. | | `suspend https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncherTrait.LaunchAppCommand.Response` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncherCommands#launchApp(kotlin.Function1)(optionalArgs: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncherTrait.LaunchAppCommand.OptionalArgs.() -> https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)` Launches an app. | | `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncherTrait.LaunchAppCommand.Response>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncherCommands#launchAppBatchable(kotlin.Function1)(optionalArgs: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncherTrait.LaunchAppCommand.OptionalArgs.() -> https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)` The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncherCommands#launchApp(kotlin.Function1)` command. | | `suspend https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncherTrait.StopAppCommand.Response` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncherCommands#stopApp(kotlin.Function1)(optionalArgs: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncherTrait.StopAppCommand.OptionalArgs.() -> https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)` Stop the app. | | `https://developers.home.google.com/reference/kotlin/com/google/home/BatchableCommand<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncherTrait.StopAppCommand.Response>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncherCommands#stopAppBatchable(kotlin.Function1)(optionalArgs: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncherTrait.StopAppCommand.OptionalArgs.() -> https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)` The batchable version of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncherCommands#stopApp(kotlin.Function1)` command. | |
| From [com.google.home.matter.standard.ApplicationLauncherTrait.Attributes](https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncherTrait.Attributes) |---|---| | `open https://developers.home.google.com/reference/kotlin/com/google/home/StructDescriptor` | `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncherTrait.Attributes#getDescriptor()()` Returns the descriptor for the struct. | | `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html?` | `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncherTrait.Attributes#getFieldValueById(kotlin.UInt)(tagId: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html)` Returns the value of the field for the given tag ID. | |
| From [com.google.home.TraitStateInvalidation](https://developers.home.google.com/reference/kotlin/com/google/home/TraitStateInvalidation) |---|---| | `suspend https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/TraitStateInvalidation#forceRead()()` | |

| ### Inherited properties |
|---|
| From [com.google.home.matter.standard.ApplicationLauncherTrait.Attributes](https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncherTrait.Attributes) |---|---| | `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncherTrait.Attributes#acceptedCommandList()` A list of client-generated commands which are supported by this cluster server instance. | | `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncherTrait.Attributes#attributeList()` A list of the attribute IDs of the attributes supported by the cluster instance. | | `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html>?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncherTrait.Attributes#catalogList()` The list of supported app catalogs, where each entry in the list is the Vendor ID for the catalog. | | `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncherTrait.Attributes#clusterRevision()` The revision of the server cluster specification supported by the cluster instance. | | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncherTrait.ApplicationEpStruct?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncherTrait.Attributes#currentApp()` The ID of the current in-focus app. | | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncherTrait.Feature` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncherTrait.Attributes#featureMap()` Whether the server supports zero or more optional cluster features. | | `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncherTrait.Attributes#generatedCommandList()` A list of server-generated commands (server to client) which are supported by this cluster server instance. | |
| From [com.google.home.Trait](https://developers.home.google.com/reference/kotlin/com/google/home/Trait) |---|---| | `https://developers.home.google.com/reference/kotlin/com/google/home/Trait.TraitMetadata` | `https://developers.home.google.com/reference/kotlin/com/google/home/Trait#metadata()` | |

## Public functions

### supports

```
fun supports(attribute: ApplicationLauncher.Attribute): Boolean
```

### supports

```
fun supports(command: ApplicationLauncher.Command): Boolean
```

## Public properties

### factory

```
open val factory: TraitFactory<ApplicationLauncher>
```