Movie Item
data class MovieItem(val id: String, val title: String, val imageSource: AppImageSource, val rating: Double? = null, val year: String = "", val duration: String = "", val contentRating: String = "", val genre: String = "", val type: String = "", val isPremium: Boolean = false, val primaryInfo: String? = null, val secondaryInfo: String? = null, val rank: Int? = null, val youtubeVideoId: String? = null)
Data class representing a movie or series item in the design system.
Constructors
Link copied to clipboard
constructor(id: String, title: String, imageSource: AppImageSource, rating: Double? = null, year: String = "", duration: String = "", contentRating: String = "", genre: String = "", type: String = "", isPremium: Boolean = false, primaryInfo: String? = null, secondaryInfo: String? = null, rank: Int? = null, youtubeVideoId: String? = null)
Properties
Link copied to clipboard
Parental guidance rating (e.g., "PG-13").
Link copied to clipboard
The source for the poster image (Resource, URL, etc).
Link copied to clipboard
Optional short text displayed on a primary badge over the poster.
Link copied to clipboard
Optional short text displayed on a secondary badge over the poster.
Link copied to clipboard
Optional YouTube video ID for trailers/previews.