webOS TV Native APIs
lgnc_plugin.h File Reference

APIs for plugin-typed application. More...

Go to the source code of this file.

Functions

int LGNC_PLUGIN_Initialize (LGNC_CALLBACKS_T *callbacks)
 Initializes as plugin. More...
 
int LGNC_PLUGIN_SetAppId (const char *appId)
 Set application ID. More...
 

Detailed Description

APIs for plugin-typed application.

Function Documentation

◆ LGNC_PLUGIN_Initialize()

int LGNC_PLUGIN_Initialize ( LGNC_CALLBACKS_T *  callbacks)

Initializes as plugin.

Parameters
callbacksEvent callbacks, must not be NULL.
Returns
0 if succeeded

◆ LGNC_PLUGIN_SetAppId()

int LGNC_PLUGIN_SetAppId ( const char *  appId)

Set application ID.

Must be called AFTER LGNC_PLUGIN_Initialize.

Parameters
appIdApplication ID, e.g. "com.example.application"
Returns
0 if succeeded