提交 6be7b2f8 编写于 作者: L LVB8189

modify

Signed-off-by: NLVB8189 <lvbai1@huawei.com>
上级 772d41d3
......@@ -34,6 +34,7 @@ onCreate(want: object): void
```js
import WallpaperExtensionAbility from '@ohos.WallpaperExtensionAbility';
class WallpaperExt extends WallpaperExtensionAbility {
onCreate(want) {
console.log('onCreate, want:' + want.abilityName);
......@@ -59,6 +60,7 @@ onWallpaperChange(wallpaperType: number): void
```js
import WallpaperExtensionAbility from '@ohos.WallpaperExtensionAbility';
class WallpaperExt extends WallpaperExtensionAbility {
onWallpaperChange(wallpaperType) {
console.log('onWallpaperChange, wallpaperType:' + wallpaperType);
......@@ -78,6 +80,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.
先完成此消息的编辑!
想要评论请 注册