# ChannelTrait.ChannelInfoStruct


```
class ChannelTrait.ChannelInfoStruct : ClusterStruct
```

<br />

*** ** * ** ***

A channel in a channel lineup.

## 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/ChannelTrait.ChannelInfoStruct.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/ChannelTrait.ChannelInfoStruct#ChannelInfoStruct(kotlin.UShort,kotlin.UShort,com.google.home.matter.serialization.OptionalValue,com.google.home.matter.serialization.OptionalValue,com.google.home.matter.serialization.OptionalValue,com.google.home.matter.serialization.OptionalValue,com.google.home.matter.serialization.OptionalValue)( majorNumber: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html, minorNumber: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html, name: https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/OptionalValue<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html>, callSign: https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/OptionalValue<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html>, affiliateCallSign: https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/OptionalValue<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html>, identifier: https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/OptionalValue<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html>, type: 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/ChannelTrait.ChannelTypeEnum> )` Creates the ChannelInfoStruct 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/ChannelTrait.ChannelInfoStruct#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/ChannelTrait.ChannelInfoStruct#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/ChannelTrait.ChannelInfoStruct#affiliateCallSign()` The local affiliate call sign of channel. |
| `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/ChannelTrait.ChannelInfoStruct#callSign()` The call sign of the channel. |
| `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/ChannelTrait.ChannelInfoStruct#identifier()` The unique identifier for a specific channel. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ChannelTrait.ChannelInfoStruct#majorNumber()` The channel major number value, in ATSC format. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ChannelTrait.ChannelInfoStruct#minorNumber()` The channel minor number value, in ATSC format. |
| `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/ChannelTrait.ChannelInfoStruct#name()` The name of the channel. |
| `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/ChannelTrait.ChannelTypeEnum>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ChannelTrait.ChannelInfoStruct#type()` The type or grouping of a specific channel. |

## Public constructors

### ChannelInfoStruct

```
ChannelInfoStruct(
    majorNumber: UShort,
    minorNumber: UShort,
    name: OptionalValue<String> = OptionalValue.absent(),
    callSign: OptionalValue<String> = OptionalValue.absent(),
    affiliateCallSign: OptionalValue<String> = OptionalValue.absent(),
    identifier: OptionalValue<String> = OptionalValue.absent(),
    type: OptionalValue<ChannelTrait.ChannelTypeEnum> = OptionalValue.absent()
)
```

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

### affiliateCallSign

```
val affiliateCallSign: OptionalValue<String>
```

The local affiliate call sign of channel.

### callSign

```
val callSign: OptionalValue<String>
```

The call sign of the channel.

### identifier

```
val identifier: OptionalValue<String>
```

The unique identifier for a specific channel.

### majorNumber

```
val majorNumber: UShort
```

The channel major number value, in ATSC format.

### minorNumber

```
val minorNumber: UShort
```

The channel minor number value, in ATSC format.

### name

```
val name: OptionalValue<String>
```

The name of the channel.

### type

```
val type: OptionalValue<ChannelTrait.ChannelTypeEnum>
```

The type or grouping of a specific channel.