DirectoryModel

abstract class DirectoryModel

Represents an item in the directory

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Represents the orientation on the image, VERTICAL and HORIZONTAL

Properties

Link copied to clipboard
abstract var category: Category

Content category

Link copied to clipboard
abstract var id: Int

Unique id for the item, for example the hash of the infoLink

Link copied to clipboard
open var imageLink: String?

Item image link

Link copied to clipboard

Layout type to be used when loading the info, LayoutType.SINGLE for single items like Category.MOVIE, or LayoutType.MULTIPLE for multiple items like Category.SERIES, by default the system uses the category to decide wich one to use

Link copied to clipboard
abstract var infoLink: String

Info link used to open the Info page

Link copied to clipboard
abstract var name: String

Item name

Link copied to clipboard

Image orientation to be used

Link copied to clipboard

Optional ranking data

Link copied to clipboard
open var type: String?

Optional subtext to be shown