提交 772d41d3 编写于 作者: L LVB8189

modify

Signed-off-by: NLVB8189 <lvbai1@huawei.com>
上级 86aa50dd
......@@ -33,6 +33,7 @@ onCreate(want: object): void
**示例:**
```js
import WallpaperExtensionAbility from '@ohos.WallpaperExtensionAbility';
class WallpaperExt extends WallpaperExtensionAbility {
onCreate(want) {
console.log('onCreate, want:' + want.abilityName);
......@@ -57,6 +58,7 @@ onWallpaperChange(wallpaperType: number): void
**示例:**
```js
import WallpaperExtensionAbility from '@ohos.WallpaperExtensionAbility';
class WallpaperExt extends WallpaperExtensionAbility {
onWallpaperChange(wallpaperType) {
console.log('onWallpaperChange, wallpaperType:' + wallpaperType);
......@@ -75,6 +77,7 @@ onDestroy(): void
**示例:**
```js
import WallpaperExtensionAbility from '@ohos.WallpaperExtensionAbility';
class WallpaperExt extends WallpaperExtensionAbility {
onDestroy() {
console.log('onDestroy');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册