Machine

data class Machine(val id: Int, @StringRes val name: Int, @RawRes val brochure: Int? = null, val videos: List<Video> = listOf(), val layouts: List<Layout> = listOf())

The data on a machine.

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 name: Int, @RawRes brochure: Int? = null, videos: List<Video> = listOf(), layouts: List<Layout> = listOf())

Properties

Link copied to clipboard
val brochure: Int? = null

The Brochure .pdf file for the machine. May be empty.

Link copied to clipboard
val id: Int

identifier (unused)

Link copied to clipboard

The list of layout .pdf files for the machine. May be empty.

Link copied to clipboard
val name: Int

Name of the machine

Link copied to clipboard

The list of videos associated with the machine. May be empty.