VideoPreviewUiState

data class VideoPreviewUiState(val id: String, val title: String, val coverUrl: String? = null, val publisherLogoUrl: String? = null)

UI representation of a video preview item.

Contains the minimal set of information required to display a video card, such as title, cover image, duration, and publisher branding.

Parameters

id

unique identifier of the video

title

title displayed for the video

coverUrl

optional URL for the video thumbnail or cover image

publisherLogoUrl

optional URL for the publisher's logo to display as branding

Constructors

Link copied to clipboard
constructor(id: String, title: String, coverUrl: String? = null, publisherLogoUrl: String? = null)

Properties

Link copied to clipboard
val coverUrl: String? = null
Link copied to clipboard
val id: String
Link copied to clipboard
Link copied to clipboard