eTS Common Event
Introduction
This sample shows how to use CommonEvent APIs in Extended TypeScript (eTS) to create subscribers and subscribe to, publish, and unsubscribe from common events.
Usage
- On the home screen of the sample app, touch Create subscriber and Subscribe. The execution result is displayed in the lower text box. Touch Publish common event and Publish specified common event. The common event information received after the common event is successfully published is displayed in the lower text box. Touch Unsubscribe to unsubscribe from the common event.
Constraints
This sample can only be run on standard-system devices.