Contents

TVTopShelfCarouselItem

An item containing images, video, and other information that you want to display using a carousel-based interface.

Declaration

class TVTopShelfCarouselItem

Overview

A TVTopShelfCarouselItem object offers a more dynamic way to present your content than section-based items. When a carousel item first appears, it displays either a static image or a short looping video as its background. When the navigation focus stops on the item, the system plays the video in the item’s previewVideoURL property.

Create one or more TVTopShelfCarouselItem objects and fill them with information about your content. The system determines which properties of the object to display based on the content style. For the TVTopShelfCarouselContent.Style.details style, the system displays all of the information in your carousel item. For the TVTopShelfCarouselContent.Style.actions style, the system focuses on the actions associated with your item. To specify the actions for both styles, use the inherited playAction and displayAction properties of the object.

Topics

Specifying the Item Details

Specifying the Content Previews

Adding Media Badges

Adding Custom Attributes

See Also

Carousel content