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