1# NotificationContent 2 3描述通知类型。 4 5> **说明:** 6> 7> 本模块首批接口从API version 7开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。 8 9**系统能力**:以下各项对应的系统能力均为SystemCapability.Notification.Notification 10 11| 名称 | 类型 | 可读 | 可写 | 说明 | 12| ----------- | ------------------------------------------------------------ | ---- | --- | ------------------ | 13| contentType | [ContentType](./js-apis-notificationManager.md#contenttype) | 是 | 是 | 通知内容类型。 | 14| normal | [NotificationBasicContent](#notificationbasiccontent) | 是 | 是 | 基本类型通知内容。 | 15| longText | [NotificationLongTextContent](#notificationlongtextcontent) | 是 | 是 | 长文本类型通知内容。 | 16| multiLine | [NotificationMultiLineContent](#notificationmultilinecontent) | 是 | 是 | 多行类型通知内容。 | 17| picture | [NotificationPictureContent](#notificationpicturecontent) | 是 | 是 | 图片类型通知内容。 | 18 19## NotificationBasicContent 20 21描述普通文本通知。 22 23**系统能力**:以下各项对应的系统能力均为SystemCapability.Notification.Notification 24 25| 名称 | 类型 | 可读 | 可写 | 说明 | 26| -------------- | ------ | ---- | ---- | ---------------------------------- | 27| title | string | 是 | 是 | 通知标题。 | 28| text | string | 是 | 是 | 通知内容。 | 29| additionalText | string | 是 | 是 | 通知附加内容,是对通知内容的补充。 | 30 31 32## NotificationLongTextContent 33 34描述长文本通知。 35 36**系统能力**:以下各项对应的系统能力均为SystemCapability.Notification.Notification 37 38| 名称 | 类型 | 可读 | 可写 | 说明 | 39| -------------- | ------ | ---- | --- | -------------------------------- | 40| title | string | 是 | 是 | 通知标题。 | 41| text | string | 是 | 是 | 通知内容。 | 42| additionalText | string | 是 | 是 | 通知附加内容,是对通知内容的补充。 | 43| longText | string | 是 | 是 | 通知的长文本。 | 44| briefText | string | 是 | 是 | 通知概要内容,是对通知内容的总结。 | 45| expandedTitle | string | 是 | 是 | 通知展开时的标题。 | 46 47 48## NotificationMultiLineContent 49 50描述多行文本通知。 51 52**系统能力**:以下各项对应的系统能力均为SystemCapability.Notification.Notification 53 54| 名称 | 类型 | 可读 | 可写 | 说明 | 55| -------------- | --------------- | --- | --- | -------------------------------- | 56| title | string | 是 | 是 | 通知标题。 | 57| text | string | 是 | 是 | 通知内容。 | 58| additionalText | string | 是 | 是 | 通知附加内容,是对通知内容的补充。 | 59| briefText | string | 是 | 是 | 通知概要内容,是对通知内容的总结。 | 60| longTitle | string | 是 | 是 | 通知展开时的标题。 | 61| lines | Array\<string\> | 是 | 是 | 通知的多行文本。 | 62 63 64## NotificationPictureContent 65 66描述附有图片的通知。 67 68**系统能力**:以下各项对应的系统能力均为SystemCapability.Notification.Notification 69 70| 名称 | 类型 | 可读 | 可写 | 说明 | 71| -------------- | -------------- | ---- | --- | -------------------------------- | 72| title | string | 是 | 是 | 通知标题。 | 73| text | string | 是 | 是 | 通知内容。 | 74| additionalText | string | 是 | 是 | 通知附加内容,是对通知内容的补充。 | 75| briefText | string | 是 | 是 | 通知概要内容,是对通知内容的总结。 | 76| expandedTitle | string | 是 | 是 | 通知展开时的标题。 | 77| picture | [image.PixelMap](js-apis-image.md#pixelmap7) | 是 | 是 | 通知的图片内容。 | 78