• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# CommonEventData
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
8**System capability**: SystemCapability.Notification.CommonEvent
9
10| Name      | Type                | Readable| Writable| Description                                                   |
11| ---------- |-------------------- | ---- | ---- |  ------------------------------------------------------- |
12| event      | string               | Yes | No | Name of the common event that is being received.                             |
13| bundleName | string               | Yes | No | Bundle name.                                             |
14| code       | number               | Yes | No | Result code of the common event, which is used to transfer data of the int type.          |
15| data       | string               | Yes | No | Custom result data of the common event, which is used to transfer data of the string type.|
16| parameters | {[key: string]: any} | Yes | No | Additional information about the common event.                                 |
17