# ApplicationLauncherTrait.ApplicationEpStruct

# ApplicationLauncherTrait.ApplicationEpStruct


```
class ApplicationLauncherTrait.ApplicationEpStruct : ClusterStruct
```

<br />

*** ** * ** ***

An app along with its corresponding endpoint.

## Summary

| ### Nested types |
|---|
| `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncherTrait.ApplicationEpStruct.StructFields : 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 struct's fields. |

| ### Public constructors |
|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncherTrait.ApplicationEpStruct#ApplicationEpStruct(com.google.home.matter.standard.ApplicationLauncherTrait.ApplicationStruct,com.google.home.matter.serialization.OptionalValue)( application: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncherTrait.ApplicationStruct, endpoint: https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/OptionalValue<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html> )` Creates the ApplicationEPStruct class. |

| ### Public functions |
|---|---|
| `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.ApplicationEpStruct#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.ApplicationEpStruct#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. |

| ### Public properties |
|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncherTrait.ApplicationStruct` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ApplicationLauncherTrait.ApplicationEpStruct#application()` The app ID. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/OptionalValue<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.ApplicationEpStruct#endpoint()` The endpoint. |

## Public constructors

### ApplicationEpStruct

```
ApplicationEpStruct(
    application: ApplicationLauncherTrait.ApplicationStruct = ApplicationStruct(),
    endpoint: OptionalValue<UShort> = OptionalValue.absent()
)
```

Creates the ApplicationEPStruct class.

## Public functions

### getDescriptor

```
@HomeExperimentalGenericApi
open fun getDescriptor(): StructDescriptor
```

Returns the descriptor for the struct.

### getFieldValueById

```
@HomeExperimentalGenericApi
open fun getFieldValueById(tagId: UInt): Any?
```

Returns the value of the field for the given tag ID.

## Public properties

### application

```
val application: ApplicationLauncherTrait.ApplicationStruct
```

The app ID.

### endpoint

```
val endpoint: OptionalValue<UShort>
```

The endpoint.