app - app.setUserTasks(tasks)

概述

返回 boolean,表示调用是否成功。在 Windows 的跳转列表「任务」分类中添加指定任务。

基本信息

属性
模块 app
类型 Method
鸿蒙支持 不支持