AbstractContent
On this page
AbstractContent ⇐ ImageModel
Kind: global abstract class
Extends: ImageModel
Model:
Properties
Name | Type | Description |
---|---|---|
isContent | boolean | flag (always true) |
lang | String | The content associated language |
title | String | The content title |
description | String | The content description |
shortDescription | String | The content short description |
year | number | The release year for this content |
country | String | The associated country for this content |
parentalRating | String | The defined parental rating for this content |
rating | number | The rating value associated to this content |
duration | number | The content duration (in milliseconds) |
tagLine | String | The content tagline |
credits | CreditList | The content credits list |
type | ContentTypes | The type associated to this content |
imageType | ImageConst | The content logo ratio type (default is ratio 16:9) |
genres | Array | A list of genres associated to this content |
keywords | Array | A list of keywords associated to this content |
programs | ListModel | Various programs associated to this content |
isAdult | boolean | Flag which is set to true if content is of adult type |
AbstractContent()
A content is a model holding the description of a digital item (image, music, video, …). A content is associated to at least one Media whose purpose is to provide a readable version of the digital item. The same content can be distributed by multiple items. A content is localized: the French Batman’s content can differ from the US one. Those two items can be associated to different media which have various keywords, genres, …