Video

data class Video(val id: Int, @StringRes val titleRes: Int = R.string.video_title_default, @RawRes val videoRes: Int, @DrawableRes val thumbnailRes: Int = R.drawable.video_thumbnail_default)

The information on a video file

This is used in the com.example.econoshow.data.LocalEconoShowDataProvider data object to construct the necessary data for a machine

Constructors

Link copied to clipboard
constructor(id: Int, @StringRes titleRes: Int = R.string.video_title_default, @RawRes videoRes: Int, @DrawableRes thumbnailRes: Int = R.drawable.video_thumbnail_default)

Properties

Link copied to clipboard
val id: Int

identifier (unused)

Link copied to clipboard

The thumbnail image used when creating the button

Link copied to clipboard

The title of the video

Link copied to clipboard

The video file of the video