• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# eTS Common Event
2
3
4
5### Introduction
6
7This sample shows how to use **CommonEvent** APIs in Extended TypeScript (eTS) to create subscribers and subscribe to, publish, and unsubscribe from common events.
8
9### Usage
10
111. 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.
12
13
14
15### Constraints
16
17This sample can only be run on standard-system devices.
18