Class

TVMediaItem.TimeRange

An object that defines a time range in a media item.

Declaration

class TimeRange : NSObject

Topics

Defining the Time Range

var startTime: TimeInterval

The time in a media item that determines when a time range begins.

var endTime: TimeInterval

The time in a media item that determines when a time range ends.

var duration: TimeInterval

The duration of a time range in a media item.

Relationships

Inherits From

Conforms To

See Also

Setting Timing Options

var highlightGroups: [TVMediaItem.HighlightGroup]

An array containing groups of individual highlights in a media item.

class TVMediaItem.HighlightGroup

A container for groups of highlights for a media item.

var interstitials: [TVMediaItem.TimeRange]

An array of time intervals that indicate where to insert media items into another, single media item.

var resumeTime: TimeInterval

The number of seconds from the beginning of a media item to the point where that media item begins playing.