# ContentLauncherTrait.StyleInformationStruct

# ContentLauncherTrait.StyleInformationStruct


```
class ContentLauncherTrait.StyleInformationStruct : ClusterStruct
```

<br />

*** ** * ** ***

Style information which can be used to change the media player's visual style.

## 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.StyleInformationStruct.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/ContentLauncherTrait.StyleInformationStruct#StyleInformationStruct(com.google.home.matter.serialization.OptionalValue,com.google.home.matter.serialization.OptionalValue,com.google.home.matter.serialization.OptionalValue)( imageUrl: https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/OptionalValue<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html>, color: https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/OptionalValue<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html>, size: 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.DimensionStruct> )` Creates the StyleInformationStruct 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/ContentLauncherTrait.StyleInformationStruct#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.StyleInformationStruct#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://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ContentLauncherTrait.StyleInformationStruct#color()` The color used for styling the video player. |
| `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.StyleInformationStruct#imageUrl()` The URL of the image used for styling the video player. |
| `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.DimensionStruct>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ContentLauncherTrait.StyleInformationStruct#size()` The size of the image used for styling various video player areas such as the logo, watermark, and so forth. |

## Public constructors

### StyleInformationStruct

```
StyleInformationStruct(
    imageUrl: OptionalValue<String> = OptionalValue.absent(),
    color: OptionalValue<String> = OptionalValue.absent(),
    size: OptionalValue<ContentLauncherTrait.DimensionStruct> = OptionalValue.absent()
)
```

Creates the StyleInformationStruct 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

### color

```
val color: OptionalValue<String>
```

The color used for styling the video player.

### imageUrl

```
val imageUrl: OptionalValue<String>
```

The URL of the image used for styling the video player.

### size

```
val size: OptionalValue<ContentLauncherTrait.DimensionStruct>
```

The size of the image used for styling various video player areas such as the logo, watermark, and so forth.