1e41f4b71Sopenharmony_ci# NotificationContent (System API) 2e41f4b71Sopenharmony_ci 3e41f4b71Sopenharmony_ciThe **NotificationContent** module provides APIs for defining the notification content. 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> This topic describes only system APIs provided by the module. For details about its public APIs, see [NotificationContent](./js-apis-inner-notification-notificationContent.md). 10e41f4b71Sopenharmony_ci 11e41f4b71Sopenharmony_ci## NotificationContent 12e41f4b71Sopenharmony_ci 13e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.Notification 14e41f4b71Sopenharmony_ci 15e41f4b71Sopenharmony_ci| Name | Type | Read Only | Optional | Description | 16e41f4b71Sopenharmony_ci| ----------- | --------------------------------------------------------------------------- | ---- | --- | ------------------ | 17e41f4b71Sopenharmony_ci| liveView<sup>11+</sup> | [NotificationLiveViewContent](#notificationliveviewcontent11) | No | Yes | Common live view.<br>**System API**: This is a system API.| 18e41f4b71Sopenharmony_ci 19e41f4b71Sopenharmony_ci## NotificationLiveViewContent<sup>11+</sup> 20e41f4b71Sopenharmony_ci 21e41f4b71Sopenharmony_ciDescribes the common live view. 22e41f4b71Sopenharmony_ci 23e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.Notification 24e41f4b71Sopenharmony_ci 25e41f4b71Sopenharmony_ci**System API**: This is a system API. 26e41f4b71Sopenharmony_ci 27e41f4b71Sopenharmony_ci| Name | Type | Read Only| Optional | Description | 28e41f4b71Sopenharmony_ci| -------------- | ------------------------------------------------------------------ | --- | --- | ------------------------------------------------------| 29e41f4b71Sopenharmony_ci| status | [LiveViewStatus](#liveviewstatus11) | No | No | Notification status. | 30e41f4b71Sopenharmony_ci| version | number | No | Yes | If the version number stored in the database is not **0xffffffff**, the version number needs to be verified when the live view is updated or ended to ensure that the current version number is greater than the version number stored in the database. The default value is **0xffffffff**.| 31e41f4b71Sopenharmony_ci| extraInfo | [key: string] object | No | Yes | Extra information of the live view. | 32e41f4b71Sopenharmony_ci| pictureInfo | [key: string] Array\<[image.PixelMap](../apis-image-kit/js-apis-image.md#pixelmap7)> | No | Yes | Extra image information of the live view.| 33e41f4b71Sopenharmony_ci| isLocalUpdateOnly<sup>12+</sup> | boolean | No | Yes | Whether the live view is updated only locally. | 34e41f4b71Sopenharmony_ci 35e41f4b71Sopenharmony_ci## NotificationCapsule<sup>11+</sup> 36e41f4b71Sopenharmony_ci 37e41f4b71Sopenharmony_ciDescribe the notification capsule. 38e41f4b71Sopenharmony_ci 39e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Notification.Notification 40e41f4b71Sopenharmony_ci 41e41f4b71Sopenharmony_ci**System API**: This is a system API. 42e41f4b71Sopenharmony_ci 43e41f4b71Sopenharmony_ci| Name | Type | Read Only | Optional | Description | 44e41f4b71Sopenharmony_ci| --------------------- | ---------------------------- | ---- | ---- | -------------------------------- | 45e41f4b71Sopenharmony_ci| content<sup>12+</sup> | string | No | Yes | Extended text of the capsule. | 46e41f4b71Sopenharmony_ci 47e41f4b71Sopenharmony_ci## LiveViewStatus<sup>11+</sup> 48e41f4b71Sopenharmony_ci 49e41f4b71Sopenharmony_ciEnumerates the statuses of the common live view. 50e41f4b71Sopenharmony_ci 51e41f4b71Sopenharmony_ci**System capability**: SystemCapability.Security.AccessToken 52e41f4b71Sopenharmony_ci 53e41f4b71Sopenharmony_ci**System API**: This is a system API. 54e41f4b71Sopenharmony_ci 55e41f4b71Sopenharmony_ci| Name | Value | Description | 56e41f4b71Sopenharmony_ci| ---------------------------- |----|----------| 57e41f4b71Sopenharmony_ci| LIVE_VIEW_CREATE | 0 | The live view is created. | 58e41f4b71Sopenharmony_ci| LIVE_VIEW_INCREMENTAL_UPDATE | 1 | The live view is updated in incremental mode. | 59e41f4b71Sopenharmony_ci| LIVE_VIEW_END | 2 | The live view is ended. | 60e41f4b71Sopenharmony_ci| LIVE_VIEW_FULL_UPDATE | 3 | The live view is updated in full mode. | 61