Luna Service API

webOS TV provides the Luna service that consists of essential services and features for LG webOS TV. Each service and feature provide application programming interface (API) and its methods for you. With these Luna service APIs, you can request data to the proper service and use the response information to your apps.

 

webOS TV currently provides the following APIs. More services and APIs are on their way.

API Name

Description

Supported in Emulator

Activity Manager The Activity Manager is responsible for coordinating work in the system. This includes work currently being done, and work that is scheduled to be done at some point in the future. Yes
Application Manager Provides following methods to implicitly launch a resident application based on the requested command and resource types, or to explicitly launch a specified application Yes
Audio Provides methods for volume control. Yes
Camera Provides methods that return the information of camera and microphone. No
Connection Manager Provides the status of available Internet connections. Partially
(Only wired) 
Database Enables apps to store persistent data. Yes
Device Unique ID Provides method for device identification. No
DRM Provides methods for managing DRM clients, sending DRM message, and subscribing to DRM rights error information. No
Key Manager Enables apps to manage security requests through security keys. Deprecated
Media Database Enables apps to store large media related datasets persistently. Yes
Magic Remote Provides functions related to the magic remote such as sensor and pairing. No
Settings Service Provides a method for retrieving system setting value.  Yes
System Service Provides information about the system time. Yes
TV Device Information Provides a method for retrieving TV system information.

Partially

The following table shows the current support for each API on the webOS TV and emulator.

API Name

Supported in webOS TV

Supported in webOS TV Emulator

v1.x

v2.0

v3.0

v1.2

v2.0

v3.0

Activity Manager Yes Yes Yes Yes Yes Yes
Application Manager Yes Yes Yes Yes Yes Yes
Audio Yes Yes Yes Yes Yes Yes
Camera Yes Yes Yes

No

No No
Connection Manager Yes Yes Yes

Partially

Partially

Partially

Database Yes Yes Yes Yes Yes Yes
Device Unique ID No No Yes No No No
DRM Yes Yes Yes No No No
Key Manager Deprecated Deprecated Deprecated Deprecated Deprecated Deprecated
Media Database Yes Yes Yes Yes Yes Yes
Magic Remote Yes Yes Yes No No No
Settings Service Yes Yes Yes Yes Yes Yes
System Service Yes Yes Yes Yes Yes Yes
TV Device Information Partially Yes Yes Partially Partially Partially

 

Navigation