GLSurfaceView.SurfaceChanged(ISurfaceHolder, Format, Int32, Int32) Method

Definition

This method is part of the SurfaceHolder.

[Android.Runtime.Register("surfaceChanged", "(Landroid/view/SurfaceHolder;III)V", "GetSurfaceChanged_Landroid_view_SurfaceHolder_IIIHandler")]
public virtual void SurfaceChanged (Android.Views.ISurfaceHolder? holder, Android.Graphics.Format format, int w, int h);
[<Android.Runtime.Register("surfaceChanged", "(Landroid/view/SurfaceHolder;III)V", "GetSurfaceChanged_Landroid_view_SurfaceHolder_IIIHandler")>]
abstract member SurfaceChanged : Android.Views.ISurfaceHolder * Android.Graphics.Format * int * int -> unit
override this.SurfaceChanged : Android.Views.ISurfaceHolder * Android.Graphics.Format * int * int -> unit

Parameters

holder
ISurfaceHolder

The SurfaceHolder whose surface has changed.

format
Format

The new PixelFormat of the surface.

w
Int32

The new width of the surface.

h
Int32

The new height of the surface.

Implements

Attributes

Remarks

This method is part of the SurfaceHolder.Callback interface, and is not normally called or subclassed by clients of GLSurfaceView.

Java documentation for android.opengl.GLSurfaceView.surfaceChanged(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