1e41f4b71Sopenharmony_ci# CommonEventData 2e41f4b71Sopenharmony_ci 3e41f4b71Sopenharmony_ciCommon event data. 4e41f4b71Sopenharmony_ci 5e41f4b71Sopenharmony_ci> **NOTE** 6e41f4b71Sopenharmony_ci> 7e41f4b71Sopenharmony_ci> 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. 8e41f4b71Sopenharmony_ci 9e41f4b71Sopenharmony_ci## Attributes 10e41f4b71Sopenharmony_ci 11e41f4b71Sopenharmony_ci**Atomic service API**: This API can be used in atomic services since API version 11. 12e41f4b71Sopenharmony_ci 13e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.CommonEvent 14e41f4b71Sopenharmony_ci 15e41f4b71Sopenharmony_ci| Name | Type | Read Only| Optional| Description | 16e41f4b71Sopenharmony_ci| ---------- |-------------------- | ---- | ---- | ------------------------------------------------------- | 17e41f4b71Sopenharmony_ci| event | string | No | No | Name of the common event that is being received. | 18e41f4b71Sopenharmony_ci| bundleName | string | No | Yes | Bundle name. This parameter is left empty by default. | 19e41f4b71Sopenharmony_ci| code | number | No | Yes | Result code of the common event, which is used to transfer data of the int type. | 20e41f4b71Sopenharmony_ci| data | string | No | Yes | Custom result data of the common event, which is used to transfer data of the string type.| 21e41f4b71Sopenharmony_ci| parameters | {[key: string]: any} | No | Yes | Additional information about the common event. | 22