赞
踩
相机 / camera / 拍照 / 返回应用 / callBundleName / Want
拉起相机拍完照后如何返回应用?
在Want中添加callBundleName参数即可返回应用。Want的详细用法请参见:https://developer.huawei.com/consumer/cn/doc/harmonyos-references/js-apis-app-ability-want-0000001774280554
- var want = {
- "action": wantConstant.Action.ACTION_IMAGE_CAPTURE,
- "parameters": {
- callBundleName: "要授权的包名",
- "supportMultiMode": true
- }
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。