# ContentLauncherTrait.LaunchUrlCommand.Request


```
class ContentLauncherTrait.LaunchUrlCommand.Request : ClusterStruct
```

<br />

*** ** * ** ***

The request payload for the LaunchUrl command.

## 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/ContentLauncherTrait.LaunchUrlCommand.Request.CommandFields : 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 command's request fields. |

| ### Public constructors |
|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ContentLauncherTrait.LaunchUrlCommand.Request#Request(kotlin.String,com.google.home.matter.serialization.OptionalValue,com.google.home.matter.serialization.OptionalValue,com.google.home.matter.serialization.OptionalValue)( contentUrl: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html, displayString: https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/OptionalValue<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html>, brandingInformation: https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/OptionalValue<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ContentLauncherTrait.BrandingInformationStruct>, playbackPreferences: https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/OptionalValue<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ContentLauncherTrait.PlaybackPreferencesStruct> )` Creates a request payload for the LaunchUrl command. |

| ### 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/ContentLauncherTrait.LaunchUrlCommand.Request#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/ContentLauncherTrait.LaunchUrlCommand.Request#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/serialization/OptionalValue<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ContentLauncherTrait.BrandingInformationStruct>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ContentLauncherTrait.LaunchUrlCommand.Request#brandingInformation()` The branding information that is displayed when playing back the content. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ContentLauncherTrait.LaunchUrlCommand.Request#contentUrl()` The URL of the content to launch. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/OptionalValue<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ContentLauncherTrait.LaunchUrlCommand.Request#displayString()` A string that describes the content being accessed at the given URL. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/OptionalValue<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ContentLauncherTrait.PlaybackPreferencesStruct>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ContentLauncherTrait.LaunchUrlCommand.Request#playbackPreferences()` |

## Public constructors

### Request

```
Request(
    contentUrl: String = "",
    displayString: OptionalValue<String> = OptionalValue.absent(),
    brandingInformation: OptionalValue<ContentLauncherTrait.BrandingInformationStruct> = OptionalValue.absent(),
    playbackPreferences: OptionalValue<ContentLauncherTrait.PlaybackPreferencesStruct> = OptionalValue.absent()
)
```

Creates a request payload for the LaunchUrl command.

## 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

### brandingInformation

```
val brandingInformation: OptionalValue<ContentLauncherTrait.BrandingInformationStruct>
```

The branding information that is displayed when playing back the content.

### contentUrl

```
val contentUrl: String
```

The URL of the content to launch.

### displayString

```
val displayString: OptionalValue<String>
```

A string that describes the content being accessed at the given URL.

### playbackPreferences

```
val playbackPreferences: OptionalValue<ContentLauncherTrait.PlaybackPreferencesStruct>
```