    struct ChannelInfoStruct

A channel in a channel lineup.
- `


  ### [majorNumber](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ChannelTrait/ChannelInfoStruct#/s:15GoogleHomeTypes6MatterO12ChannelTraitV0E10InfoStructV11majorNumbers6UInt16Vvp)


  ` The channel major number value, in ATSC format.

  #### Declaration

  Swift

      let majorNumber: UInt16

- `


  ### [minorNumber](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ChannelTrait/ChannelInfoStruct#/s:15GoogleHomeTypes6MatterO12ChannelTraitV0E10InfoStructV11minorNumbers6UInt16Vvp)


  ` The channel minor number value, in ATSC format.

  #### Declaration

  Swift

      let minorNumber: UInt16

- `


  ### [name](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ChannelTrait/ChannelInfoStruct#/s:15GoogleHomeTypes6MatterO12ChannelTraitV0E10InfoStructV4nameSSSgvp)


  ` The name of the channel.

  #### Declaration

  Swift

      let name: String?

- `


  ### [callSign](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ChannelTrait/ChannelInfoStruct#/s:15GoogleHomeTypes6MatterO12ChannelTraitV0E10InfoStructV8callSignSSSgvp)


  ` The call sign of the channel.

  #### Declaration

  Swift

      let callSign: String?

- `


  ### [affiliateCallSign](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ChannelTrait/ChannelInfoStruct#/s:15GoogleHomeTypes6MatterO12ChannelTraitV0E10InfoStructV17affiliateCallSignSSSgvp)


  ` The local affiliate call sign of channel.

  #### Declaration

  Swift

      let affiliateCallSign: String?

- `


  ### [identifier](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ChannelTrait/ChannelInfoStruct#/s:15GoogleHomeTypes6MatterO12ChannelTraitV0E10InfoStructV10identifierSSSgvp)


  ` The unique identifier for a specific channel.

  #### Declaration

  Swift

      let identifier: String?

- `


  ### [type](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ChannelTrait/ChannelInfoStruct#/s:15GoogleHomeTypes6MatterO12ChannelTraitV0E10InfoStructV4typeAE0E8TypeEnumOSgvp)


  ` The type or grouping of a specific channel.

  #### Declaration

  Swift

      let type: https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ChannelTrait.html.https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ChannelTrait/ChannelTypeEnum.html?

- `


  ### [init(decoder:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ChannelTrait/ChannelInfoStruct#/s:15GoogleHomeTypes6MatterO12ChannelTraitV0E10InfoStructV7decoderAG0aB3SDK0F7DecoderV_tKcfc)


  ` Creates a new Struct instance using data read from the given `TraitDecoder`.
  Throws
  `HomeError.parseError` when parsing fails.

  #### Declaration

  Swift

      init(decoder: TraitDecoder) throws

  #### Parameters

  |---|---|
  | ` decoder ` | The raw data representing this Struct. |

- `


  ### [encode(with:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ChannelTrait/ChannelInfoStruct#/s:15GoogleHomeTypes6MatterO12ChannelTraitV0E10InfoStructV6encode4withy0aB3SDK0F7EncoderC_tKF)


  ` Writes this Struct to the given `TraitEncoder`.
  Throws `HomeError.parseError` if the data could not be encoded.

  #### Declaration

  Swift

      func encode(with encoder: TraitEncoder) throws

- `


  ### [structField(id:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Matter/ChannelTrait/ChannelInfoStruct#/s:15GoogleHomeTypes6MatterO12ChannelTraitV0E10InfoStructV11structField2id0aB3SDK0J0_pSgs6UInt32V_tFZ)


  ` Returns the field corresponding to the given field ID.

  #### Declaration

  Swift

      static func structField(id: UInt32) -> (any Field)?