Difference between revisions of "Content Root Object"
(8 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
"wrap": false, | "wrap": false, | ||
"compress": false, | "compress": false, | ||
+ | "preselect": false, | ||
"refocus": 0, | "refocus": 0, | ||
"transparent": 0, | "transparent": 0, | ||
Line 24: | Line 25: | ||
"header": null, | "header": null, | ||
"footer": null, | "footer": null, | ||
+ | "inserts": [], | ||
"overlay": null, | "overlay": null, | ||
"underlay": null, | "underlay": null, | ||
Line 70: | Line 72: | ||
|- | |- | ||
| <code>important</code> || <code>boolean</code> || <code>false</code> || No || data-sort-value=58|'''0.1.58''' || | | <code>important</code> || <code>boolean</code> || <code>false</code> || No || data-sort-value=58|'''0.1.58''' || | ||
− | Indicates if the content data is important. This property can be used to enforce that the content headline is displayed. | + | Indicates if the content data is important. This property can be used to enforce that the content headline is displayed. This property has no effect if the content is displayed in a panel or the content is not loaded via a menu. |
'''Note: The content headline is not displayed if the content is loaded via a menu, because in that case the menu item label is used as headline.''' | '''Note: The content headline is not displayed if the content is loaded via a menu, because in that case the menu item label is used as headline.''' | ||
Line 81: | Line 83: | ||
| <code>compress</code> || <code>boolean</code> || <code>false</code> || No || data-sort-value=123|'''0.1.123''' || | | <code>compress</code> || <code>boolean</code> || <code>false</code> || No || data-sort-value=123|'''0.1.123''' || | ||
Indicates if the content is compressed by 25%. This property is part of the hidden features. For more information, please see [[Compress Property]]. | Indicates if the content is compressed by 25%. This property is part of the hidden features. For more information, please see [[Compress Property]]. | ||
+ | |- | ||
+ | | <code>preselect</code> || <code>boolean</code> || <code>false</code> || No || data-sort-value=160|'''0.1.160''' || | ||
+ | Indicates if content pages and items should be preselected by executing the corresponding page and seletion actions before a content scroll animation. By default, these actions are executed after a content scroll animation. | ||
|- | |- | ||
| <code>refocus</code> || <code>number</code>{{pipe}}<code>boolean</code> || <code>0</code> || No || data-sort-value=153|'''0.1.153''' || | | <code>refocus</code> || <code>number</code>{{pipe}}<code>boolean</code> || <code>0</code> || No || data-sort-value=153|'''0.1.153''' || | ||
Line 144: | Line 149: | ||
An array of content items. Please see [[Content Item Object]] for the data structure. This property is mandatory if the content items should be automatically created and positioned. | An array of content items. Please see [[Content Item Object]] for the data structure. This property is mandatory if the content items should be automatically created and positioned. | ||
− | '''Note: Templated content items only have to specify the relevant properties. The other properties are copied from the <code>template</code> object. To use this property, the template property must also be set, otherwise this property is ignored.''' | + | '''Note: Templated content items only have to specify the relevant properties. The other properties are copied from the <code>template</code> object. To use this property, the <code>template</code> property must also be set, otherwise this property is ignored.''' |
|- | |- | ||
| <code>pages</code> || <code>array</code> || <code>null</code> || '''Only for non-templated items''' || data-sort-value=0|0.1.0 || | | <code>pages</code> || <code>array</code> || <code>null</code> || '''Only for non-templated items''' || data-sort-value=0|0.1.0 || | ||
Line 158: | Line 163: | ||
| <code>footer</code> || <code>object</code> || <code>null</code> || No || data-sort-value=53|'''0.1.53''' || | | <code>footer</code> || <code>object</code> || <code>null</code> || No || data-sort-value=53|'''0.1.53''' || | ||
An individual footer page for templated content items. Please see [[Content Page Object]] for the data structure. | An individual footer page for templated content items. Please see [[Content Page Object]] for the data structure. | ||
+ | |||
+ | '''Note: To use this property, the <code>template</code> and <code>items</code> property must also be set, otherwise this property is ignored.''' | ||
+ | |- | ||
+ | | <code>inserts</code> || <code>array</code> || <code>null</code> || No || data-sort-value=156|'''0.1.156''' || | ||
+ | An array of individual insert pages for templated content items. Please see [[Content Page Object]] for the data structure and the <code>position</code> property available there for more information. | ||
'''Note: To use this property, the <code>template</code> and <code>items</code> property must also be set, otherwise this property is ignored.''' | '''Note: To use this property, the <code>template</code> and <code>items</code> property must also be set, otherwise this property is ignored.''' | ||
Line 192: | Line 202: | ||
|- | |- | ||
| <code>captionUnderlay</code> || <code>number</code> || <code>-1</code> || No || data-sort-value=153|'''0.1.153''' || | | <code>captionUnderlay</code> || <code>number</code> || <code>-1</code> || No || data-sort-value=153|'''0.1.153''' || | ||
− | The underlay of the content caption. This property can be used to explicitly set or remove the underlay of the content caption. The underlay is used to darken the lower part of the screen to make the caption more visible. By default, the underlay is used if a content list has overflowing items (i.e. content items are under the caption) | + | The underlay of the content caption. This property can be used to explicitly set or remove the underlay of the content caption. The underlay is used to darken the lower part of the screen to make the caption more visible. By default, the underlay is used if a content list has overflowing items (i.e. content items are under the caption). |
− | * <code>-1</code>: Automatically set/remove | + | * <code>-1</code>: Automatically set/remove underlay. |
* <code>0</code>: Remove underlay. | * <code>0</code>: Remove underlay. | ||
* <code>1</code>: Set underlay. | * <code>1</code>: Set underlay. | ||
+ | |||
+ | '''Note: If the active content page has set its own <code>captionUnderlay</code> property to <code>0</code> or <code>1</code>, this property is ignored.''' | ||
|} | |} | ||
Latest revision as of 14:30, 2 October 2024
{
"name": "Content Name",
"version": "1.0.0",
"reference": "http://link.to.content",
"flag": "content_flag",
"reuse": true,
"cache": true,
"restore": true,
"important": false,
"wrap": false,
"compress": false,
"preselect": false,
"refocus": 0,
"transparent": 0,
"type": "pages",
"preload": "none",
"headline": "Content Headline",
"background": "http://link.to.image",
"extension": "Content Extension",
"dictionary": "http://link.to.dictionary",
"template": null,
"items": [],
"pages": [],
"header": null,
"footer": null,
"inserts": [],
"overlay": null,
"underlay": null,
"action": null,
"data": null,
"ready": null,
"options": null,
"caption": "opt/menu",
"captionUnderlay": -1
}
Property | Type | Default Value | Mandatory | Since Version | Description |
---|---|---|---|---|---|
name |
string |
null |
No | 0.1.0 |
The name of the content. This property is only used if the content data is loaded at startup and can be used to set the content name. This value is displayed in the about panel of the Media Station X application. |
version |
string |
null |
No | 0.1.0 |
The version of the content. This property is only used if the content data is loaded at startup and can be used to add a content version. This value is displayed in the about panel of the Media Station X application. |
reference |
string |
null |
No | 0.1.134 |
The reference of the content data. This property is only used if the content data is loaded at startup and can be used to load the actual data (i.e. non-startup related data) from another location. This allows you to keep the start content data more dynamic (e.g. by reloading it on the fly). Note: Please note that most properties (e.g. |
flag |
string |
null |
No | 0.1.120 |
A custom content flag that can be evaluated by plugins and/or servers. Since version 0.1.144, this flag can also be used to replace (and reload) the content data at runtime. For more information, please see Replace Action. Since version 0.1.153, this flag can also be used to refocus content items by using the |
reuse |
boolean |
true |
No | 0.1.0 |
Indicates if the content data can be reused. If this property is set to |
cache |
boolean |
true |
No | 0.1.58 |
Indicates if the content data is being cached. This property can be used to disable the cache feature. |
restore |
boolean |
true |
No | 0.1.120 |
Indicates if the content data is restorable. If this property is set to Note: If the content is loaded via a menu and the menu data has set the |
important |
boolean |
false |
No | 0.1.58 |
Indicates if the content data is important. This property can be used to enforce that the content headline is displayed. This property has no effect if the content is displayed in a panel or the content is not loaded via a menu. Note: The content headline is not displayed if the content is loaded via a menu, because in that case the menu item label is used as headline. |
wrap |
boolean |
false |
No | 0.1.102 |
Indicates if the content data is wrapped. If this property is set to Note: If the active content page has its own |
compress |
boolean |
false |
No | 0.1.123 |
Indicates if the content is compressed by 25%. This property is part of the hidden features. For more information, please see Compress Property. |
preselect |
boolean |
false |
No | 0.1.160 |
Indicates if content pages and items should be preselected by executing the corresponding page and seletion actions before a content scroll animation. By default, these actions are executed after a content scroll animation. |
refocus |
number |boolean |
0 |
No | 0.1.153 |
Indicates if a content item should be refocused. The
Note: To use this property, the |
transparent |
number |boolean |
0 |
No | 0.1.142 |
Indicates if the content background is transparent. By default, the content background is set to a semi-transparent gray to darken the underlying video/image and make the content more visible. This property has no effect if the content is displayed in a panel.
Note: If the active content page has its own |
type |
string |
"pages" |
No | 0.1.0 |
The type of the content items.
Note: If the |
preload |
string |
"none" |
No | 0.1.92 |
The preload mode of the content pages (available for type Note: Please use this feature wisely, because preloading pages can decrease the performance.
|
headline |
string |
null |
No | 0.1.0 |
The headline of the content. Note: This property has no effect if the content is loaded via a menu, because in that case the menu item label is used as headline. Since version 0.1.58, you can set the property This property supports Inline Expressions. |
background |
string |
null |
No | 0.1.0 |
The background image that is used if no other background is set at lower levels. If the content data is loaded at startup, this background image is used as default. |
extension |
string |
null |
No | 0.1.82 |
The extension of the content screen. This property can be used to display a small label in the upper right corner of the content screen (e.g. to show the logged in user, the current date/time, etc.). This property supports Inline Expressions and Live Inline Expressions. |
dictionary |
string |
null |
No | 0.1.120 |
A URL to a dictionary file. This property is only used if the content data is loaded at startup and can be used to setup a dictionary. A dictionary can be used to translate the application user interface. For more information, please see Dictionary Structure. |
template |
object |
null |
Only for templated items | 0.1.0 |
The template object to automatically create and position content items. Please see Content Item Object for the data structure. This property is mandatory if the content items should be automatically created and positioned. Note: Templated content items have all the same size and can be used to quickly create lists without having to deal with grid positions. To use this property, the |
items |
array |
null |
Only for templated items | 0.1.0 |
An array of content items. Please see Content Item Object for the data structure. This property is mandatory if the content items should be automatically created and positioned. Note: Templated content items only have to specify the relevant properties. The other properties are copied from the |
pages |
array |
null |
Only for non-templated items | 0.1.0 |
An array of content pages. Please see Content Page Object for the data structure. This property is mandatory if the content items should be manually created and positioned. Note: This property is ignored if a |
header |
object |
null |
No | 0.1.53 |
An individual header page for templated content items. Please see Content Page Object for the data structure. Note: To use this property, the |
footer |
object |
null |
No | 0.1.53 |
An individual footer page for templated content items. Please see Content Page Object for the data structure. Note: To use this property, the |
inserts |
array |
null |
No | 0.1.156 |
An array of individual insert pages for templated content items. Please see Content Page Object for the data structure and the Note: To use this property, the |
overlay |
object |
null |
No | 0.1.110 |
An independent overlay page that is displayed over each content page. Please see Content Page Object for the data structure. Note: For the overlay page, only items of type |
underlay |
object |
null |
No | 0.1.112 |
An independent underlay page that is displayed under each content page. Please see Content Page Object for the data structure. Note: For the underlay page, only items of type |
action |
string |
null |
No | 0.1.0 |
The start action that is executed if the content data is loaded at startup. This property is part of the hidden features. For more information, please see Start Action. |
data |
object |
null |
No | 0.1.0 |
The additional data of the start action that is used if the action is executed. This property is part of the hidden features. For more information, please see Start Action. |
ready |
object |
null |
No | 0.1.142 |
A special ready object that can contain an |
options |
object |
null |
No | 0.1.120 |
A special page object that is displayed in a panel if a content item is selected and the menu button is pressed. The availability of options for the current selected item is indicated in the lower right corner of the content screen. This property is ignored if the content is displayed in a panel. Please see Content Page Object for the data structure. Since version 0.1.130, you can also set a Content Root Object as options. Note: If the active content page or the selected content item has its own |
caption |
string |
"opt/menu" |
No | 0.1.130 |
This property is only used if the content data is set as |
captionUnderlay |
number |
-1 |
No | 0.1.153 |
The underlay of the content caption. This property can be used to explicitly set or remove the underlay of the content caption. The underlay is used to darken the lower part of the screen to make the caption more visible. By default, the underlay is used if a content list has overflowing items (i.e. content items are under the caption).
Note: If the active content page has set its own |