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