isExplicit
TypeScriptget isExplicit(): (boolean) | nullSwift declarationvar isExplicit: Bool?A Boolean value that indicates whether this content is explicit.
struct · iOS 27.0+ · SDK 27.1
struct TVShowContentContent representing a TV show episode. Use this type for television series playback, including individual episodes.
get isExplicit(): (boolean) | nullSwift declarationvar isExplicit: Bool?A Boolean value that indicates whether this content is explicit.
set isExplicit(value: (boolean) | null)Swift declarationvar isExplicit: Bool?A Boolean value that indicates whether this content is explicit.
get episodeTitle(): stringSwift declarationlet episodeTitle: StringThe title of the episode.
get animatedArtwork(): (AnimatedArtwork) | nullSwift declarationlet animatedArtwork: AnimatedArtwork?Animated artwork for this content.
get isExcludedFromSuggestions(): (boolean) | nullSwift declarationvar isExcludedFromSuggestions: Bool?A Boolean value that indicates whether to exclude this content from media suggestions. Defaults to `false`.
set isExcludedFromSuggestions(value: (boolean) | null)Swift declarationvar isExcludedFromSuggestions: Bool?A Boolean value that indicates whether to exclude this content from media suggestions. Defaults to `false`.
static initIdEpisodeTitleShowNameDurationArtworkAnimatedArtwork(id: string, episodeTitle: string, showName: string, duration: (MediaDuration) | null, artwork: Artwork, animatedArtwork?: (AnimatedArtwork) | null): TVShowContentSwift declarationinit(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.
static initIdEpisodeTitleShowNameDurationArtwork(id: string, episodeTitle: string, showName: string, duration?: (MediaDuration) | null, artwork?: (Artwork) | null): TVShowContentSwift declarationinit(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 id(): stringSwift declarationlet id: StringThe unique identifier for this content.
get type(): MediaTypeSwift declarationvar type: MediaType { get }The media type (always video for TV shows).
get genre(): (string) | nullSwift declarationvar genre: String?The genre of this content.
set genre(value: (string) | null)Swift declarationvar genre: String?The genre of this content.
get artwork(): (Artwork) | nullSwift declarationlet artwork: Artwork?Artwork for this content.
get duration(): (MediaDuration) | nullSwift declarationlet duration: MediaDuration?The duration of this content.
get showName(): stringSwift declarationlet showName: StringThe name of the TV show.
No declarations were skipped in this snapshot.