# ChannelItem Structure

    public struct ChannelItem

Describes one playable channel entry for `PlayerViewControllerAPI`.

### Lifecycle

- `init(playerConfig:metadata:nextChannelInfo:)`

  Creates a channel item with playback config and optional UI metadata.

  #### Declaration

  Swift

      public init(
          playerConfig: PlayerConfiguration,
          metadata: ChannelMetadata?,
          nextChannelInfo: NextChannelInfo?)

  #### Parameters

  `playerConfig` | Playback configuration for this channel item.
  `metadata` | UI metadata to display for this channel.
  `nextChannelInfo` | Interstitial-view descriptors used for channel up/down actions.

### Public

- `playerConfig`

  Configuration for a player item.

  #### Declaration

  Swift

      public let playerConfig: PlayerConfiguration

- `metadata`

  Metadata including title, subtitle, description, and artwork, which is displayed in the info view

  #### Declaration

  Swift

      public let metadata: ChannelMetadata?

- `nextChannelInfo`

  Information about the interstitial view displayed when flipping to the next or previous channel. It is only supported in live channels.

  #### Declaration

  Swift

      public let nextChannelInfo: NextChannelInfo?