WallpaperService.Engine.OnSurfaceChanged Method

Definition

Convenience for SurfaceHolder.Callback#surfaceChanged SurfaceHolder.Callback.surfaceChanged().

[Android.Runtime.Register("onSurfaceChanged", "(Landroid/view/SurfaceHolder;III)V", "GetOnSurfaceChanged_Landroid_view_SurfaceHolder_IIIHandler")]
public virtual void OnSurfaceChanged (Android.Views.ISurfaceHolder? holder, Android.Graphics.Format format, int width, int height);
[<Android.Runtime.Register("onSurfaceChanged", "(Landroid/view/SurfaceHolder;III)V", "GetOnSurfaceChanged_Landroid_view_SurfaceHolder_IIIHandler")>]
abstract member OnSurfaceChanged : Android.Views.ISurfaceHolder * Android.Graphics.Format * int * int -> unit
override this.OnSurfaceChanged : Android.Views.ISurfaceHolder * Android.Graphics.Format * int * int -> unit

Parameters

format
Format
width
Int32
height
Int32
Attributes

Remarks

Convenience for SurfaceHolder.Callback#surfaceChanged SurfaceHolder.Callback.surfaceChanged().

Java documentation for android.service.wallpaper.WallpaperService.Engine.onSurfaceChanged(android.view.SurfaceHolder, int, int, int).

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