设备应用 APInotification 系统通知getAllNotifications版本:v3+On this pagegetAllNotifications API_LEVEL 3.0 开始支持,API 兼容性请参考 API_LEVEL。 获取当前应用已发送的还留在通知中心里通知 ID。 信息权限代码: device:os.notification 类型 function getAllNotifications(): Array<number> 代码示例 import { getAllNotifications } from '@zos/notification'getAllNotifications()