Contents

TVContentItem

An object that describes either a piece of content or a container for other content items.

Declaration

class TVContentItem

Overview

The exact details of what a content item is are dependent on your app. For example, a content item might be a piece of media or it might provide access to news or other content available to your app.

To create a description of a piece of content, create a content identifier object and then use this object to initialize a new TVContentItem object. Then, set any other properties that are appropriate for the object you are creating. Most of the properties are optional, and many properties apply only to certain kinds of content. Inspect an existing TVContentItem object to retrieve the media and playback properties, such as the duration of the content or when the content was last played.

Topics

Initializing a Content Item

Reading a Content Item’s Identifier

Inspecting the General Display Properties

Accessing Image Resources

Inspecting the Content Properties

Inspecting the Playback Properties

Inspecting the Application Launch Properties

See Also

Content