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 MovieContentContent representing a movie. Use this type for movie playback, including films and documentaries.
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 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 initIdTitleDurationArtworkAnimatedArtwork(id: string, title: string, duration: (MediaDuration) | null, artwork: Artwork, animatedArtwork?: (AnimatedArtwork) | null): MovieContentSwift declarationinit(id: String, title: String, duration: MediaDuration?, artwork: Artwork, animatedArtwork: AnimatedArtwork?)Creates movie content with static and animated artwork. - Parameters: - id: A unique identifier for this movie. - title: The movie's display title. - duration: The total runtime, or `nil` when unknown. - artwork: Static poster artwork. - animatedArtwork: Animated artwork for the movie, or `nil` when unavailable.
static initIdTitleDurationArtwork(id: string, title: string, duration?: (MediaDuration) | null, artwork?: (Artwork) | null): MovieContentSwift declarationinit(id: String, title: String, duration: MediaDuration?, artwork: Artwork?)Creates movie content. - Parameters: - id: A unique identifier for this movie. - title: The movie's display title. - duration: The total runtime, or `nil` when unknown. - artwork: Poster artwork, 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 movies).
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 title(): stringSwift declarationlet title: StringThe title of the movie.
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.