shortcuts 示例:这个是补8.6号(今日需要二个java 二个c 二个 鸿蒙)

“shortcuts”: [ {
“shortcutId”: “id”,
#表示快捷方式的ID。字符串的最大长度 为63字节。
“label”: “$string:shortcut”, #标签是快捷方式
#表示快捷方式的标签信息,即快捷方式 对外显示的文字描述信息。取值可以是 描述性内容,也可以是标识label的资源 索引。字符串最大长度为63字节。
“intents”: [ {
#表示快捷方式内定义的目标intent信息 集合,每个intent可配置两个子标签, targetClass, targetBundle。
“targetBundle”: “com.huawei.hiworld.himusic”,
#表示快捷方 式目标类 名。
“targetClass”: “com.huawei.hiworld.himusic.entry.MainAbility” }
#表示快捷方 式目标 Ability所在 应用的包 名 himusic.entry名称 MainAbility”
] } ]
