Share via


WallpaperService.OnCreateEngine Method

Definition

Overloads

OnCreateEngine()

Must be implemented to return a new instance of the wallpaper's engine.

OnCreateEngine(WallpaperDescription)

OnCreateEngine()

Must be implemented to return a new instance of the wallpaper's engine.

[Android.Runtime.Register("onCreateEngine", "()Landroid/service/wallpaper/WallpaperService$Engine;", "GetOnCreateEngineHandler")]
public abstract Android.Service.Wallpaper.WallpaperService.Engine? OnCreateEngine();
[<Android.Runtime.Register("onCreateEngine", "()Landroid/service/wallpaper/WallpaperService$Engine;", "GetOnCreateEngineHandler")>]
abstract member OnCreateEngine : unit -> Android.Service.Wallpaper.WallpaperService.Engine

Returns

Attributes

Remarks

Java documentation for android.service.wallpaper.WallpaperService.onCreateEngine().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

OnCreateEngine(WallpaperDescription)

[Android.Runtime.Register("onCreateEngine", "(Landroid/app/wallpaper/WallpaperDescription;)Landroid/service/wallpaper/WallpaperService$Engine;", "GetOnCreateEngine_Landroid_app_wallpaper_WallpaperDescription_Handler", ApiSince=36)]
public virtual Android.Service.Wallpaper.WallpaperService.Engine? OnCreateEngine(Android.App.Wallpaper.WallpaperDescription description);
[<Android.Runtime.Register("onCreateEngine", "(Landroid/app/wallpaper/WallpaperDescription;)Landroid/service/wallpaper/WallpaperService$Engine;", "GetOnCreateEngine_Landroid_app_wallpaper_WallpaperDescription_Handler", ApiSince=36)>]
abstract member OnCreateEngine : Android.App.Wallpaper.WallpaperDescription -> Android.Service.Wallpaper.WallpaperService.Engine
override this.OnCreateEngine : Android.App.Wallpaper.WallpaperDescription -> Android.Service.Wallpaper.WallpaperService.Engine

Parameters

description
WallpaperDescription

Returns

Attributes

Applies to