Android.Views.ISurfaceHolderCallback.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:Android.Views.ISurfaceHolderCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SurfaceChanged (ISurfaceHolder holder, [Android.Runtime.GeneratedEnum] 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 ISurfaceHolderCallback.SurfaceCreated(ISurfaceHolder).

[Android Documentation]

Requirements

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