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 PodcastContentContent representing a podcast episode. Use this type for podcast playback, including individual episodes and series.
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 releaseDate(): (globalThis.Date) | nullSwift declarationlet releaseDate: Date?The release date of the episode.
get episodeTitle(): stringSwift declarationlet episodeTitle: StringThe title of the podcast 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 initIdEpisodeTitleShowNameReleaseDateTypeDurationArtworkAnimatedArtwork(id: string, episodeTitle: string, showName: string, releaseDate: (globalThis.Date) | null, type: MediaType, duration: (MediaDuration) | null, artwork: Artwork, animatedArtwork?: (AnimatedArtwork) | null): PodcastContentSwift declarationinit(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.
static initIdEpisodeTitleShowNameReleaseDateTypeDurationArtwork(id: string, episodeTitle: string, showName: string, releaseDate: (globalThis.Date) | null, type: MediaType, duration?: (MediaDuration) | null, artwork?: (Artwork) | null): PodcastContentSwift declarationinit(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 id(): stringSwift declarationlet id: StringThe unique identifier for this content.
get type(): MediaTypeSwift declarationlet type: MediaTypeThe media type (audio or video).
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 podcast show.
No declarations were skipped in this snapshot.