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

holder
ISurfaceHolder

The ISurfaceHolder whose surface has changed.

format
Format

The new Format of the surface.

width
Int32

The new width of the surface.

height
Int32

The new height of the surface.

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