回复
HarmonyOS应用API-featureAbility.getWant
鸿蒙时代
发布于 2022-10-31 17:48
浏览
0收藏
Api: featureAbility.getWant
版本适配:API 6
作用:获取从Ability发送的Want
示例代码:
callback形式:
import featureAbility from '@ohos.ability.featureability';
featureAbility.getWant()
Promise形式:
import featureAbility from '@ohos.ability.featureability';
featureAbility.getWant().then((data) => {
console.info("==========================>getWantCallBack=======================>");
});
标签
HarmonyOS应用API-featureAbility.getWant.docx 17.14K 7次下载
赞
收藏
回复
相关推荐