WallpaperService.Engine.OnCreate(ISurfaceHolder) Method

Definition

Called once to initialize the engine.

[Android.Runtime.Register("onCreate", "(Landroid/view/SurfaceHolder;)V", "GetOnCreate_Landroid_view_SurfaceHolder_Handler")]
public virtual void OnCreate (Android.Views.ISurfaceHolder? surfaceHolder);
[<Android.Runtime.Register("onCreate", "(Landroid/view/SurfaceHolder;)V", "GetOnCreate_Landroid_view_SurfaceHolder_Handler")>]
abstract member OnCreate : Android.Views.ISurfaceHolder -> unit
override this.OnCreate : Android.Views.ISurfaceHolder -> unit

Parameters

surfaceHolder
ISurfaceHolder
Attributes

Remarks

Called once to initialize the engine. After returning, the engine's surface will be created by the framework.

Java documentation for android.service.wallpaper.WallpaperService.Engine.onCreate(android.view.SurfaceHolder).

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