top

Setting config.xml for TV

This document covers special configurations of only Samsung TV.

Overview

config.xml is common configuration file of Tizen Web application. You can configure everything for application. For example,

  • Application information

    • name, id, version, icon, and etc
  • Privilege

  • Policy

  • Special features, meta data

For more information, please refer to Setting Project Properties and Configuring Applications.

The followings are privileges and meta data information of Samsung TV. Other things are same as mobile and wearable.

Tizen API Privileges

For using sensitive APIs, you should declare privileges and obtain privilege levels. The following is privilege list for Tizen APIs associated with TV. You can add privilege in “Privileges” Tab.

Figure 1. Adding privilege

Figure 1. Adding privilege

Please refer to Privileges and APIs.

Table 1. Privilege APIs
Privilege Level API (Method)
http://tizen.org/privilege/tv.audio Public TVAudioControl API
http://tizen.org/privilege/tv.channel Public TVChannel API
http://tizen.org/privilege/tv.display Public TVDisplayControl API
http://tizen.org/privilege/tv.inputdevice Public TVInputDevice API
http://tizen.org/privilege/tv.window Public TVWindow API

Samsung Product API Privileges

The following is privilege list for Samsung Product APIs. You can add privilege in “Privileges” Tab.

Figure 2. Adding privilege

Figure 2. Adding privilege

Please refer to Privileges and APIs.

Table 2. Privilege APIs
Privilege Level API (Method)
http://developer.samsung.com/privilege/allshare Public ASFService API
DeviceDiscovery API
Item API
Provider API
http://developer.samsung.com/privilege/billing Public Billing API
http://developer.samsung.com/privilege/drminfo Partner DrmInfo API
http://developer.samsung.com/privilege/drmplay Public AVPlay API (setDrm)
http://developer.samsung.com/privilege/microphone Public Microphone API
http://developer.samsung.com/privilege/network.public Public Network API
http://developer.samsung.com/privilege/productinfo Public ProductInfo API
http://developer.samsung.com/privilege/sso.partner Partner SSO API
http://developer.samsung.com/privilege/widgetdata Public WidgetData API

Meta Data for Samsung TV

For applying some features, you should add meta data. You can add meta data in “Tizen” Tab.

Figure 3. Adding Meta Data

Figure 3. Adding Meta Data

Please refer to Meta Data. Default value is marked in bold.

Table 3. Meta Data
Key Value Year Description
http://samsung.com/tv/metadata/prelaunch.support true
false
2015 ~ Prelaunching
2015 default value: false
http://samsung.com/tv/metadata/use.preview (Reference link) 2016 ~ Smart Hub Preview
http://samsung.com/tv/metadata/gamepad (Reference link) 2016 ~ Gamepad
http://samsung.com/tv/metadata/multiscreen.support true
false
2015 Multi Link Screen
http://samsung.com/tv/metadata/use.network true
false
2015 ~ If false, platform doesn’t check network connection status when application is launched.
http://samsung.com/tv/metadata/use.voiceguide true
false
2016 ~ If false, platform doesn’t support voice guide although voice guide is ON.
http://samsung.com/tv/metadata/auto.update true
false
2015 ~ If false, application isn’t updated together when regular update is in progress.
http://samsung.com/tv/metadata/force.update true
false
2015, 2016 If true, application is updated even if this isn’t a time for regular update.

Other Configuration for Samsung TV

There are setting tags for some features. You can add tag in “Source” Tab.

Default value is marked in bold.

Table 4. Other Features
Tag Value Description
<tizen:setting pointing-device-support=‘xxx’ ></tizen:setting> enable
disable
If disable, platform doesn’t support mouse / motion recognition.