From 3c22295643882785bfc83652c9173eb22557a382 Mon Sep 17 00:00:00 2001 From: maojiangping Date: Tue, 26 Apr 2022 14:32:22 +0800 Subject: [PATCH] add dump interface for window Signed-off-by: maojiangping Change-Id: If65cf1aa43bbf0bce71e7893ce725fc6bb957558 --- api/@ohos.window.d.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/api/@ohos.window.d.ts b/api/@ohos.window.d.ts index c73851031b..e91b11399a 100644 --- a/api/@ohos.window.d.ts +++ b/api/@ohos.window.d.ts @@ -810,6 +810,15 @@ declare namespace window { * @since 7 */ setTouchable(isTouchable: boolean, callback: AsyncCallback): void; + + /** + * Dump window client information. + * Called in the dump callback of ability is the typical usage scenario. + * @since 9 + * @param params Indicates the params from command. + * @return The dump info array. + */ + dump(params: Array): Array; } /** * window stage callback event type -- Gitee