One Logo Pool Ball
NowPlaying · IOS API REFERENCE

TVShowContent

struct · iOS 27.0+ · SDK 27.1

struct TVShowContent

Content representing a TV show episode. Use this type for television series playback, including individual episodes.

Members (15)

get · iOS 27.0+

isExplicit

TypeScript
get isExplicit(): (boolean) | null
Swift declaration
var isExplicit: Bool?

A Boolean value that indicates whether this content is explicit.

set · iOS 27.0+

isExplicit

TypeScript
set isExplicit(value: (boolean) | null)
Swift declaration
var isExplicit: Bool?

A Boolean value that indicates whether this content is explicit.

get · iOS 27.0+

episodeTitle

TypeScript
get episodeTitle(): string
Swift declaration
let episodeTitle: String

The title of the episode.

get · iOS 27.0+

animatedArtwork

TypeScript
get animatedArtwork(): (AnimatedArtwork) | null
Swift declaration
let animatedArtwork: AnimatedArtwork?

Animated artwork for this content.

get · iOS 27.0+

isExcludedFromSuggestions

TypeScript
get isExcludedFromSuggestions(): (boolean) | null
Swift declaration
var isExcludedFromSuggestions: Bool?

A Boolean value that indicates whether to exclude this content from media suggestions. Defaults to `false`.

set · iOS 27.0+

isExcludedFromSuggestions

TypeScript
set isExcludedFromSuggestions(value: (boolean) | null)
Swift declaration
var isExcludedFromSuggestions: Bool?

A Boolean value that indicates whether to exclude this content from media suggestions. Defaults to `false`.

init · iOS 27.0+

init

TypeScript
static initIdEpisodeTitleShowNameDurationArtworkAnimatedArtwork(id: string, episodeTitle: string, showName: string, duration: (MediaDuration) | null, artwork: Artwork, animatedArtwork?: (AnimatedArtwork) | null): TVShowContent
Swift declaration
init(id: String, episodeTitle: String, showName: String, duration: MediaDuration?, artwork: Artwork, animatedArtwork: AnimatedArtwork?)

Creates TV show episode content with static and animated artwork. - Parameters: - id: A unique identifier for this episode. - episodeTitle: The title of the individual episode. - showName: The name of the series. - duration: The total duration of the episode, or `nil` when unknown. - artwork: Static artwork for the episode. - animatedArtwork: Animated artwork for the episode, or `nil` when unavailable.

init · iOS 27.0+

init

TypeScript
static initIdEpisodeTitleShowNameDurationArtwork(id: string, episodeTitle: string, showName: string, duration?: (MediaDuration) | null, artwork?: (Artwork) | null): TVShowContent
Swift declaration
init(id: String, episodeTitle: String, showName: String, duration: MediaDuration?, artwork: Artwork?)

Creates TV show episode content. - Parameters: - id: A unique identifier for this episode. - episodeTitle: The title of the individual episode. - showName: The name of the series. - duration: The total duration of the episode, or `nil` when unknown. - artwork: Artwork for the episode, or `nil` when unavailable.

get · iOS 27.0+

id

TypeScript
get id(): string
Swift declaration
let id: String

The unique identifier for this content.

get · iOS 27.0+

type

TypeScript
get type(): MediaType
Swift declaration
var type: MediaType { get }

The media type (always video for TV shows).

get · iOS 27.0+

genre

TypeScript
get genre(): (string) | null
Swift declaration
var genre: String?

The genre of this content.

set · iOS 27.0+

genre

TypeScript
set genre(value: (string) | null)
Swift declaration
var genre: String?

The genre of this content.

get · iOS 27.0+

artwork

TypeScript
get artwork(): (Artwork) | null
Swift declaration
let artwork: Artwork?

Artwork for this content.

get · iOS 27.0+

duration

TypeScript
get duration(): (MediaDuration) | null
Swift declaration
let duration: MediaDuration?

The duration of this content.

get · iOS 27.0+

showName

TypeScript
get showName(): string
Swift declaration
let showName: String

The name of the TV show.

Skipped declarations

No declarations were skipped in this snapshot.

All NowPlaying types →