• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# CommonEventPublishData
2
3> **NOTE**
4>
5> The initial APIs of this module are supported since API version 7. Newly added APIs will be marked with a superscript to indicate their earliest API version.
6
7**System capability**: SystemCapability.Notification.CommonEvent
8
9| Name                 | Type                | Readable| Writable| Description                        |
10| --------------------- | -------------------- | ---- | ---- | ---------------------------- |
11| bundleName            | string               | Yes | No | Bundle name.                  |
12| code                  | number               | Yes | No | Result code of the common event.      |
13| data                  | string               | Yes | No | Custom result data of the common event.|
14| subscriberPermissions | Array\<string>       | Yes | No | Permissions required for subscribers to receive the common event.            |
15| isOrdered             | boolean              | Yes | No | Whether the common event is an ordered one.          |
16| isSticky              | boolean              | Yes | No | Whether the common event is a sticky one. Only system applications and system services are allowed to send sticky events.|
17| parameters            | {[key: string]: any} | Yes | No | Additional information about the common event.      |
18