#鸿蒙学习大百科#什么是隐式Want?

什么是隐式Want?

HarmonyOS
5天前
浏览
收藏 0
回答 1
待解决
回答 1
按赞同
/
按时间
风间爱小新V

调用方传入的want参数中未指定abilityName是隐式want。

import { Want } from '@kit.AbilityKit';

let wantInfo: Want = {
  action: 'ohos.want.action.search',
  entities: [ 'entity.system.browsable' ],
  uri: 'https://www.test.com:8080/query/student',
  type: 'text/plain',
};
分享
微博
QQ
微信
回复
5天前
相关问题
#鸿蒙学习大百科#什么AppStorage?
21浏览 • 1回复 待解决
#鸿蒙学习大百科#什么组合手势?
159浏览 • 1回复 待解决
#鸿蒙学习大百科#结果集是什么
22浏览 • 0回复 待解决