From 4c841b752a550cbc481b8a93b5784fc051924f7a Mon Sep 17 00:00:00 2001 From: zhongjianfei Date: Mon, 10 Jan 2022 09:00:11 +0800 Subject: [PATCH] zhongjianfei@huawei.com Signed-off-by: zhongjianfei Change-Id: I010eb61777600d7be21eab02b2702ce2f1e4d279 --- api/@ohos.ability.wantConstant.d.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/api/@ohos.ability.wantConstant.d.ts b/api/@ohos.ability.wantConstant.d.ts index edae0e993c..23ec48b022 100644 --- a/api/@ohos.ability.wantConstant.d.ts +++ b/api/@ohos.ability.wantConstant.d.ts @@ -127,6 +127,20 @@ declare namespace wantConstant { */ ACTION_CHOOSE = "ohos.want.action.choose", + /** + * Indicates the action of starting a Page ability for take a picture. + * + * @since 8 + */ + ACTION_IMAGE_CAPTURE = "ohos.want.action.imageCapture", + + /** + * Indicates the action of starting a Page ability for Take a video. + * + * @since 8 + */ + ACTION_VIDEO_CAPTURE = "ohos.want.action.videoCapture", + /** * Indicates the action of showing the application selection dialog box. * -- Gitee