One Logo Pool Ball
NowPlaying · IOS API REFERENCE

PodcastContent

struct · iOS 27.0+ · SDK 27.1

struct PodcastContent

Content representing a podcast episode. Use this type for podcast playback, including individual episodes and series.

Members (16)

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+

releaseDate

TypeScript
get releaseDate(): (globalThis.Date) | null
Swift declaration
let releaseDate: Date?

The release date of the episode.

get · iOS 27.0+

episodeTitle

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

The title of the podcast 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 initIdEpisodeTitleShowNameReleaseDateTypeDurationArtworkAnimatedArtwork(id: string, episodeTitle: string, showName: string, releaseDate: (globalThis.Date) | null, type: MediaType, duration: (MediaDuration) | null, artwork: Artwork, animatedArtwork?: (AnimatedArtwork) | null): PodcastContent
Swift declaration
init(id: String, episodeTitle: String, showName: String, releaseDate: Date?, type: MediaType, duration: MediaDuration?, artwork: Artwork, animatedArtwork: AnimatedArtwork?)

Creates podcast episode content with static and animated artwork. - Parameters: - id: A unique identifier for this episode. - episodeTitle: The episode's display title. - showName: The name of the podcast show. - releaseDate: The date this episode was released, or `nil` when unknown. - type: The media type. - 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 initIdEpisodeTitleShowNameReleaseDateTypeDurationArtwork(id: string, episodeTitle: string, showName: string, releaseDate: (globalThis.Date) | null, type: MediaType, duration?: (MediaDuration) | null, artwork?: (Artwork) | null): PodcastContent
Swift declaration
init(id: String, episodeTitle: String, showName: String, releaseDate: Date?, type: MediaType, duration: MediaDuration?, artwork: Artwork?)

Creates podcast episode content. - Parameters: - id: A unique identifier for this episode. - episodeTitle: The episode's display title. - showName: The name of the podcast show. - releaseDate: The date this episode was released, or `nil` when unknown. - type: The media type. - duration: The total duration of the episode, or `nil` when unknown. - artwork: Episode artwork, 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
let type: MediaType

The media type (audio or video).

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 podcast show.

Skipped declarations

No declarations were skipped in this snapshot.

All NowPlaying types →