Android.App.NativeActivity.SurfaceChanged Method
This is called immediately after any structural changes (format or size) have been made to the surface.

Syntax

[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 width, int height)

Parameters

holder
The SurfaceHolder whose surface has changed.
format
The new PixelFormat of the surface.
width
The new width of the surface.
height
The new height of the surface.

Remarks

This is called immediately after any structural changes (format or size) have been made to the surface. You should at this point update the imagery in the surface. This method is always called at least once, after Android.Views.ISurfaceHolderCallback.SurfaceCreated(Android.Views.ISurfaceHolder).

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 9