Due to NaCl deprecation by the Chromium project, Tizen TV will continue its support for NaCl only until 2021-year products. Meanwhile, Tizen TV will start focusing on high-performance, cross-browser WebAssembly from 2020-year products.
The Tizen Studio can generate and insert code stubs for messaging functions, so you can focus on implementing the communication logic. For information on implementing messaging in NaCl applications, see Messaging System.
To generate message handling code templates:
In the "Project Explorer" view, right-click the TV application project or NaCl project, and select "NaCl > Add Messages".
The NaCl module name must correspond to the id attribute of the <embed> element for the NaCl module.
To define a new message:
To delete a message, select it from the list, and click "Delete".
To generate and insert the message code templates into the source code, click "Generate".
For each defined message, the Message Template Generator creates the following code:
The generated code also includes stubs for documentation in Doxygen and JSDoc styles.