提交 de8142b6 编写于 作者: W weishaoxiong

Signed-off-by: weishaoxiong <weishaoxiong1@huawei.com>

fix: wallpaper部件接口的完整性和一致性
上级 42769e85
......@@ -389,7 +389,7 @@ reset(wallpaperType: WallpaperType): Promise&lt;void&gt;
移除指定类型的壁纸,恢复为默认显示的壁纸。
**需要权限:**ohos.permission.SET_WALLPAPER
**需要权限**ohos.permission.SET_WALLPAPER
**系统能力**: SystemCapability.MiscServices.Wallpaper
......@@ -422,7 +422,7 @@ setWallpaper(source: string | image.PixelMap, wallpaperType: WallpaperType, call
将指定资源设置为指定类型的壁纸。
**需要权限:** ohos.permission.SET_WALLPAPER
**需要权限**ohos.permission.SET_WALLPAPER
**系统能力**: SystemCapability.MiscServices.Wallpaper
......@@ -530,7 +530,7 @@ getFile(wallpaperType: WallpaperType, callback: AsyncCallback&lt;number&gt;): vo
获取指定类型的壁纸文件。
**需要权限**:ohos.permission.GET_WALLPAPERohos.permission.READ_USER_STORAGE
**需要权限**:ohos.permission.GET_WALLPAPERohos.permission.READ_USER_STORAGE
**系统能力**: SystemCapability.MiscServices.Wallpaper
......@@ -559,7 +559,7 @@ getFile(wallpaperType: WallpaperType): Promise&lt;number&gt;
获取指定类型的壁纸文件。
**需要权限:** ohos.permission.GET_WALLPAPER、ohos.permission.READ_USER_STORAGE
**需要权限**:ohos.permission.GET_WALLPAPER 和 ohos.permission.READ_USER_STORAGE
**系统能力**: SystemCapability.MiscServices.Wallpaper
......@@ -592,7 +592,7 @@ getPixelMap(wallpaperType: WallpaperType, callback: AsyncCallback&lt;image.Pixel
获取壁纸图片的像素图。
**需要权限**:ohos.permission.GET_WALLPAPERohos.permission.READ_USER_STORAGE
**需要权限**:ohos.permission.GET_WALLPAPERohos.permission.READ_USER_STORAGE
**系统能力**: SystemCapability.MiscServices.Wallpaper
......@@ -621,7 +621,7 @@ getPixelMap(wallpaperType: WallpaperType): Promise&lt;image.PixelMap&gt;
获取壁纸图片的像素图。
**需要权限**:ohos.permission.GET_WALLPAPERohos.permission.READ_USER_STORAGE
**需要权限**:ohos.permission.GET_WALLPAPERohos.permission.READ_USER_STORAGE
**系统能力**: SystemCapability.MiscServices.Wallpaper
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册