提交 cb824228 编写于 作者: L lovechinamo

Signed-off-by: lovechinamo <wangdongqi2@huawei.com>

 Changes to be committed:
上级 11eb6577
......@@ -302,7 +302,7 @@ sendScreenLockEvent(event: String, parameter: number): Promise<boolean>
**示例**
```js
screenlock.sendScreenLockEvent('unlockScreenResult', 0).then((err, result) => {
screenlock.sendScreenLockEvent('unlockScreenResult', 0).then((result) => {
console.log('sending result:' + result);
});
```
......@@ -638,7 +638,7 @@ getPixelMap(wallpaperType: WallpaperType): Promise&lt;image.PixelMap&gt;
**示例:**
```js
wallpaper.getPixelMap(WALLPAPER_SYSTEM).then((data) => {
wallpaper.getPixelMap(wallpaper.WallpaperType.WALLPAPER_SYSTEM).then((data) => {
console.info('wallpaperXTS ===> testGetPixelMapPromiseSystem data : ' + data);
console.info('wallpaperXTS ===> testGetPixelMapPromiseSystem data : ' + JSON.stringify(data));
}).catch((err) => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册