1e41f4b71Sopenharmony_ci# NotificationRequest(系统接口) 2e41f4b71Sopenharmony_ci 3e41f4b71Sopenharmony_ci描述通知的请求。 4e41f4b71Sopenharmony_ci 5e41f4b71Sopenharmony_ci> **说明:** 6e41f4b71Sopenharmony_ci> 7e41f4b71Sopenharmony_ci> 本模块首批接口从API version 7开始支持。后续版本的新增接口,采用上角标单独标记接口的起始版本。 8e41f4b71Sopenharmony_ci> 9e41f4b71Sopenharmony_ci> 当前界面仅包含本模块的系统接口,其他公开接口参见[NotificationRequest](./js-apis-inner-notification-notificationRequest.md)。 10e41f4b71Sopenharmony_ci 11e41f4b71Sopenharmony_ci## NotificationRequest 12e41f4b71Sopenharmony_ci 13e41f4b71Sopenharmony_ci**系统能力**:以下各项对应的系统能力均为SystemCapability.Notification.Notification 14e41f4b71Sopenharmony_ci 15e41f4b71Sopenharmony_ci| 名称 | 类型 | 只读 | 可选 | 说明 | 16e41f4b71Sopenharmony_ci|-------------------------------| -------------------------------------------------------- | ----- | --- |-----------------------------------------------------------------------| 17e41f4b71Sopenharmony_ci| overlayIcon<sup>11+</sup> | [image.PixelMap](../apis-image-kit/js-apis-image.md#pixelmap7) | 否 | 是 | 通知重叠图标。可选字段,图像像素的总字节数不超过100KB。<br>**系统接口**: 此接口为系统接口。 | 18e41f4b71Sopenharmony_ci| classification | string | 否 | 是 | 通知分类。<br>**系统接口**: 此接口为系统接口。预留能力,暂未支持。 | 19e41f4b71Sopenharmony_ci| isRemoveAllowed<sup>8+</sup> | boolean | 否 | 是 | 通知是否能被移除(点击通知下方删除按钮无法删除,左滑不出现删除按钮)。<br>**系统接口**: 此接口为系统接口。<br>**需要权限**: ohos.permission.SET_UNREMOVABLE_NOTIFICATION | 20e41f4b71Sopenharmony_ci| source<sup>8+</sup> | number | 是 | 是 | 通知源。<br>**系统接口**: 此接口为系统接口。预留能力,暂未支持。 | 21e41f4b71Sopenharmony_ci| deviceId<sup>8+</sup> | string | 是 | 是 | 通知源的deviceId。<br>**系统接口**: 此接口为系统接口。预留能力,暂未支持。 | 22e41f4b71Sopenharmony_ci| representativeBundle<sup>12+</sup> | [BundleOption](js-apis-inner-notification-notificationCommonDef.md#bundleoption) | 否 | 是 | 被代理的包信息。<br>**系统接口**: 此接口为系统接口。 | 23e41f4b71Sopenharmony_ci| notificationControlFlags<sup>12+</sup> | number | 否 | 是 | 通知提醒方式管控。<br>可以通过此接口减少当前通知的提醒方式。与[NotificationControlFlagStatus](js-apis-notificationManager-sys.md#notificationcontrolflagstatus12)的枚举进行按位或运算得到该参数。<br>**系统接口**:此接口为系统接口。 | 24e41f4b71Sopenharmony_ci| unifiedGroupInfo<sup>12+</sup> | [UnifiedGroupInfo](#unifiedgroupinfo12) | 否 | 是 |消息智能聚合信息字段。 <br>**系统接口**:此接口为系统接口。| 25e41f4b71Sopenharmony_ci| creatorInstanceKey<sup>12+</sup> | number | 是 | 是 | 创建者实例键值。 <br>**系统接口**:此接口为系统接口。| 26e41f4b71Sopenharmony_ci| agentBundle<sup>12+</sup> | [BundleOption](js-apis-inner-notification-notificationCommonDef.md#bundleoption) | 是 | 是 | 创建通知的代理包信息。 <br>**系统接口**:此接口为系统接口。| 27e41f4b71Sopenharmony_ci 28e41f4b71Sopenharmony_ci## DistributedOptions 29e41f4b71Sopenharmony_ci 30e41f4b71Sopenharmony_ci描述分布式选项。 31e41f4b71Sopenharmony_ci 32e41f4b71Sopenharmony_ci**系统能力**:以下各项对应的系统能力均为SystemCapability.Notification.Notification 33e41f4b71Sopenharmony_ci 34e41f4b71Sopenharmony_ci| 名称 | 类型 | 必填 | 说明 | 35e41f4b71Sopenharmony_ci| ---------------------- | -------------- | ---- | ---------------------------------- | 36e41f4b71Sopenharmony_ci| remindType<sup>8+</sup> | number | 否 | 通知的提醒方式。<br>**系统接口**: 此接口为系统接口。 | 37e41f4b71Sopenharmony_ci 38e41f4b71Sopenharmony_ci 39e41f4b71Sopenharmony_ci## NotificationFilter<sup>11+</sup> 40e41f4b71Sopenharmony_ci 41e41f4b71Sopenharmony_ci描述查询普通实况窗时的筛选条件。 42e41f4b71Sopenharmony_ci 43e41f4b71Sopenharmony_ci**系统能力**:以下各项对应的系统能力均为SystemCapability.Notification.Notification 44e41f4b71Sopenharmony_ci 45e41f4b71Sopenharmony_ci**系统接口**: 此接口为系统接口。 46e41f4b71Sopenharmony_ci 47e41f4b71Sopenharmony_ci| 名称 | 类型 | 必填 | 说明 | 48e41f4b71Sopenharmony_ci| ----------------| ------------------------------------- | ---- | ---------------------------------- | 49e41f4b71Sopenharmony_ci| bundle | [BundleOption](js-apis-inner-notification-notificationCommonDef.md#bundleoption) | 是 | 实况通知的包信息。| 50e41f4b71Sopenharmony_ci| notificationKey | [NotificationKey](js-apis-notificationSubscribe-sys.md#notificationkey) | 是 | 通知信息,包含通知ID和通知标签。 | 51e41f4b71Sopenharmony_ci| extraInfoKeys | Array\<string> | 否 | 筛选附加信息的键值列表。不填表示查询所有的附加信息。| 52e41f4b71Sopenharmony_ci 53e41f4b71Sopenharmony_ci 54e41f4b71Sopenharmony_ci## NotificationCheckRequest<sup>11+</sup> 55e41f4b71Sopenharmony_ci 56e41f4b71Sopenharmony_ci描述通知的鉴权信息。 57e41f4b71Sopenharmony_ci 58e41f4b71Sopenharmony_ci**系统能力**:以下各项对应的系统能力均为SystemCapability.Notification.Notification 59e41f4b71Sopenharmony_ci 60e41f4b71Sopenharmony_ci**系统接口**: 此接口为系统接口。 61e41f4b71Sopenharmony_ci 62e41f4b71Sopenharmony_ci| 名称 | 类型 | 必填 | 说明 | 63e41f4b71Sopenharmony_ci| --------------| --------------------------------------------------------- | ---- | ----------------- | 64e41f4b71Sopenharmony_ci| contentType | [ContentType](js-apis-notificationManager.md#contenttype) | 是 | 通知类型。 | 65e41f4b71Sopenharmony_ci| slotType | [SlotType](js-apis-notificationManager.md#slottype) | 是 | 渠道类型。 | 66e41f4b71Sopenharmony_ci| extraInfoKeys | Array\<string> | 是 | 实况通知的附加信息。| 67e41f4b71Sopenharmony_ci 68e41f4b71Sopenharmony_ci## UnifiedGroupInfo<sup>12+</sup> 69e41f4b71Sopenharmony_ci 70e41f4b71Sopenharmony_ci描述通知智能聚合信息字段。 71e41f4b71Sopenharmony_ci 72e41f4b71Sopenharmony_ci**系统能力**:以下各项对应的系统能力均为SystemCapability.Notification.Notification 73e41f4b71Sopenharmony_ci 74e41f4b71Sopenharmony_ci**系统接口**: 此接口为系统接口。 75e41f4b71Sopenharmony_ci 76e41f4b71Sopenharmony_ci| 名称 | 类型 | 必填 | 说明 | 77e41f4b71Sopenharmony_ci| ---------------------- | -------------- | ---- | ---------------------------------- | 78e41f4b71Sopenharmony_ci| key | string | 否 | 聚合组ID。 | 79e41f4b71Sopenharmony_ci| title | string | 否 | 聚合组标题。 | 80e41f4b71Sopenharmony_ci| content | string | 否 | 聚合组摘要正文。 | 81e41f4b71Sopenharmony_ci| sceneName | string | 否 | 聚合场景名称。 | 82e41f4b71Sopenharmony_ci| extraInfo | {[key: string]: any} | 否 | 其他聚合信息。 | 83