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 RadioContentContent representing a radio station or live audio stream. Use this type for radio stations, live streams, and other continuous audio broadcasts.
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 programName(): (string) | nullSwift declarationlet programName: String?The current program or show name, if available.
get stationName(): stringSwift declarationlet stationName: StringThe name of the radio station.
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 initIdStationNameProgramNameTypeDurationArtworkAnimatedArtwork(id: string, stationName: string, programName: (string) | null, type: MediaType, duration: (MediaDuration) | null, artwork: Artwork, animatedArtwork?: (AnimatedArtwork) | null): RadioContentSwift declarationinit(id: String, stationName: String, programName: String? = nil, type: MediaType = .audio, duration: MediaDuration? = .live, artwork: Artwork, animatedArtwork: AnimatedArtwork?)Creates radio station content with static and animated artwork. - Parameters: - id: A unique identifier for this station. - stationName: The display name of the station. - programName: The current program or show, if available. - type: The media type. Defaults to `.audio`. - duration: The duration of the content. Defaults to `.live` for continuous broadcasts. - artwork: Static artwork for the station. - animatedArtwork: Animated artwork for the station, or `nil` when unavailable.
static initIdStationNameProgramNameTypeDurationArtwork(id: string, stationName: string, programName?: (string) | null, type?: MediaType, duration?: (MediaDuration) | null, artwork?: (Artwork) | null): RadioContentSwift declarationinit(id: String, stationName: String, programName: String? = nil, type: MediaType = .audio, duration: MediaDuration? = .live, artwork: Artwork?)Creates radio station content. - Parameters: - id: A unique identifier for this station. - stationName: The display name of the station. - programName: The current program or show, if available. - type: The media type. Defaults to `.audio`. - duration: The duration of the content. Defaults to `.live` for continuous broadcasts. - artwork: Artwork for the station, 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). Defaults to `.audio` for radio content.
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.
No declarations were skipped in this snapshot.