1e41f4b71Sopenharmony_ci# CommonEventSubscribeInfo
2e41f4b71Sopenharmony_ci
3e41f4b71Sopenharmony_ciThe **CommonEventSubscribeInfo** module provides APIs for providing subscriber information.
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| events              | Array\<string> | No | No | Common events to subscribe to.                                        |
18e41f4b71Sopenharmony_ci| publisherPermission | string         | No | Yes | Permission of the publisher. The subscriber can receive only the events from the publisher with this permission.                                            |
19e41f4b71Sopenharmony_ci| publisherDeviceId   | string         | No | Yes | Device ID. The value must be the ID of a device on the same network. Use [@ohos.deviceInfo](./js-apis-device-info.md) to obtain the UDID as the device ID of the subscriber.        |
20e41f4b71Sopenharmony_ci| userId              | number         | No | Yes | User ID. If this parameter is not specified, the default value, which is the ID of the current user, will be used. The value must be an existing user ID in the system. Use [getOsAccountLocalId](./js-apis-osAccount.md#getosaccountlocalid9) to obtain the system account ID and use it as the user ID of the subscriber. |
21e41f4b71Sopenharmony_ci| priority            | number         | No | Yes | Subscriber priority. The value ranges from –100 to +1000. If the value exceeds the upper or lower limit, the upper or lower limit is used.                |
22e41f4b71Sopenharmony_ci| publisherBundleName<sup>11+</sup> | string  | No | Yes | Bundle name of the publisher to subscribe to.                |
23