public struct ChannelItem
Describes one playable channel entry for PlayerViewControllerAPI.
public struct ChannelItem
Describes one playable channel entry for PlayerViewControllerAPI.
Creates a channel item with playback config and optional UI metadata.
Swift
public init(
playerConfig: PlayerConfiguration,
metadata: ChannelMetadata?,
nextChannelInfo: NextChannelInfo?)
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. |
Configuration for a player item.
Swift
public let playerConfig: PlayerConfiguration
Metadata including title, subtitle, description, and artwork, which is displayed in the info view
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.
Swift
public let nextChannelInfo: NextChannelInfo?