The Device Info API will be DEPRECATED in the coming weeks. A new Titan SDK is on the way!
To get more information about what’s changing, check our latest updates at the following link:🔗 https://docs.titanos.tv/upcoming
This API offers essential services and features for Titan OS through JavaScript functions tailored for accessing TV-specific features and capabilities. With the DeviceInfoAPI, not only do you gain enhanced compatibility, but you can also conveniently access most DeviceAPI functions directly from your development computer.
The values returned by the SDK on computer browsers may differ from those on
TVs. In most cases, running on computer browsers will return a string with the
value of "unknown"
. Please consider this variation when developing and
testing your applications across different platforms.
You can integrate this script into your app. Ensure that you’re using the
latest script to avoid potential compatibility issues. We recommend linking
directly to the our CDN URL.
To access the device info, you first must add an external JS file which will
allow you to read them via an external object.
<script
src="https://partners.titanos.tv/static/device-info-sdk.js"
type="text/javascript"
/>
DeviceInfo.Channel
Name of the appStore providerDefault: TitanOS
Name of the company who manufactured the deviceDefault: TPV
Name of the brand who sells the deviceDefault: Philips
DeviceInfo.Product
Name of the appStore providerDefault: "unknown"
Year of manufacturingDefault: "unknown"
Unique identifier of the deviceDefault: "unknown"
Resettable Advertising IDDefault: "unknown"
Device Firmware Component IDDefault: "unknown"
Installed version number of the firmwareDefault: "unknown"
DeviceInfo.Capability
Name of the operating systemDefault: "unknown"
Type of the browser engine (ex. Webkit, Chrome, etc…)Default: "unknown"
If the device has storage.cDefault: "unknown"
Indicates if the device has 3D support.Default: "unknown"
Indicates if the device has Ultra High Definition (UHD) support.Default: "unknown"
Indicates if the device has High Dynamic Range (HDR) support.Default: "unknown"
If the device has WebSocket supportDefault: "unknown"
If the device has PlayReady supportDefault: "unknown"
If the device has Widevine Modular supportDefault: "unknown"
If the device has Widevine Classic supportDefault: "unknown"
If the device has Adobe HDS supportDefault: "unknown"
If the device has Apple HLS supportDefault: "unknown"
If the device has MSSmooth Streaming supportDefault: "unknown"
If the device has MPEG_DASH supportDefault: "unknown"
Device’s Digital Rights Management methodDefault: "unknown"
If the device has OIPF supportDefault: "unknown"
If the device has EME supportDefault: "unknown"
Indicates if the device supports numeric keys.Default: "unknown"
Indicates if the device supports color keys.Default: "unknown"
Indicates if the device supports multiscreen functionality.Default: "unknown"
Indicates if the device supports multiple audio tracks.Default: "unknown"
Indicates if the device supports in-band TTML subtitles.Default: "unknown"
Indicates if the device supports out-of-band TTML subtitles.Default: "unknown"
Indicates if the device has Full High Definition (FHD) support.Default: "unknown"
Indicates if the device supports HDR10 High Dynamic Range.Default: "unknown"
Indicates if the device supports Dolby Vision High Dynamic Range.Default: "unknown"
Indicates if the device supports multiple audio tracks.Default: "unknown"
Indicates if the device supports in-band TTML subtitles.Default: "unknown"
Indicates if the device supports out-of-band TTML subtitles.Default: "unknown"