Languages

Menu
Sites
Language
How to get Tizen version via WebApi

Hi there,

I'm trying to get information about Text-to-Speech on a Tizen device (enabled/disabled in settings) through ProductInfo.getSystemConfig. As I found out, this is not possible on Tizen version 2.3 and below. The config key (CONFIG_KEY_ACCESSIBILITY_TTS) just doesn't exist there. So I decided to do it only on Tizens with version 2.4 or above.

My question is: Does anyone know how to get Tizen version from webapis.js please? 

I tried method getVersion() from WebApi.ProductInfo, also TvInfo, AVInfo, actually almost all APIs available in WebApi. I couldn't find the version myself so I'm asking you guys :)

Thanks in advance
Tomas

Responses

2 Replies
Marco Buettner

Use https://developer.samsung.com/tv/develop/api-references/tizen-web-device-api-references instead https://developer.samsung.com/tv/develop/api-references/samsung-product-api-references

With Tizen Web API u can use https://developer.samsung.com/tv/develop/api-references/tizen-web-device-api-references/systeminfo-api/

Afaik BUILD includes the Tizen Version. But I will test it at home.