ChannelItem Structure

public struct ChannelItem

Describes one playable channel entry for PlayerViewControllerAPI.

Lifecycle

Public

  • Configuration for a player item.

    Declaration

    Swift

    public let playerConfig: PlayerConfiguration
  • Metadata including title, subtitle, description, and artwork, which is displayed in the info view

    Declaration

    Swift

    public let metadata: ChannelMetadata?
  • 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?