Android.Views.ISurfaceHolder: Method Members

The methods of Android.Views.ISurfaceHolder are listed below. For a list of all members, see the ISurfaceHolder Members list.

Public Methods

AddCallback(ISurfaceHolderCallback)
Add a Callback interface for this holder.
LockCanvas() : Android.Graphics.Canvas
Start editing the pixels in the surface.
LockCanvas(Android.Graphics.Rect) : Android.Graphics.Canvas
Just like ISurfaceHolder.LockCanvas but allows specification of a dirty rectangle.
RemoveCallback(ISurfaceHolderCallback)
Removes a previously added Callback interface from this holder.
SetFixedSize(int, int)
Make the surface a fixed size.
SetFormat(Android.Graphics.Format)
Set the desired PixelFormat of the surface.
SetKeepScreenOn(bool)
Enable or disable option to keep the screen turned on while this surface is displayed.
SetSizeFromLayout()
Allow the surface to resized based on layout of its container (this is the default).
SetType(SurfaceType)
Sets the surface's type.
UnlockCanvasAndPost(Android.Graphics.Canvas)
Finish editing pixels in the surface.