webOSTV.js

The webOSTV.js is a portable library to access to TV-specific features and functionality for webOS TV. The webOSTV.js library provides a set of APIs for your app to use on webOS TV 4.0.

This library is fully supported on webOS TV 4.0; however, methods of webOS API are compatible with the webOS.js library used on the previous versions of webOS TV.

download.gif

Download

Download the webOSTV.js library v1.0 from here.
Download the DRM sample code from here.

API

API

Feature

webOS

Provides methods compatible with the webOS.js library. Among methods of the webOS.js library, methods that are not executed on webOS TV are excluded. To call methods of webOS API on your app, use webOS.service.request method.

webOSDev

Provides new methods for webOS TV 4.0 or higher. To call methods of webOSDev API on your app, use webOSDev.launch method.

Class

Class

Feature

DRMAgent

Provides a class that represents a DRM agent. This class is used for managing DRM service in the webOSDev API.

Navigation