From 18e234d6afdfc8c84fe258fb0e780a6da345e55e Mon Sep 17 00:00:00 2001 From: GlaryCastle Date: Mon, 8 Aug 2022 21:02:58 +0800 Subject: [PATCH] fixed 3fb6ad7 from https://gitee.com/glarycastle/interface_sdk-js/pulls/2374 Signed-off-by: GlaryCastle Changes to be committed: modified: api/@ohos.wallpaper.d.ts --- api/@ohos.wallpaper.d.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/api/@ohos.wallpaper.d.ts b/api/@ohos.wallpaper.d.ts index 96f958acb7..45ffe9aba0 100644 --- a/api/@ohos.wallpaper.d.ts +++ b/api/@ohos.wallpaper.d.ts @@ -59,6 +59,13 @@ declare namespace wallpaper { * @return the file descriptor. * @since 8 */ + /** + * Obtains a file of the wallpaper of the specified type. + * @param wallpaperType Indicates the wallpaper type. + * @permission ohos.permission.GET_WALLPAPER. + * @return the file descriptor. + * @since 9 + */ function getFile(wallpaperType: WallpaperType, callback: AsyncCallback): void; function getFile(wallpaperType: WallpaperType): Promise; -- Gitee