Android.Views.ISurfaceHolder.SetFixedSize Method
Make the surface a fixed size.

Syntax

[Android.Runtime.Register("setFixedSize", "(II)V", "GetSetFixedSize_IIHandler:Android.Views.ISurfaceHolderInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetFixedSize (int width, int height)

Parameters

width
The surface's width.
height
The surface's height.

Remarks

Make the surface a fixed size. It will never change from this size. When working with a Android.Views.SurfaceView, this must be called from the same thread running the SurfaceView's window.

[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