Android.Views.ISurfaceHolder Members

The members of Android.Views.ISurfaceHolder are listed below.

Public Properties

[read-only]
IsCreatingbool. Use this method to find out if the surface is in the process of being created from Callback methods.
[read-only]
SurfaceSurface. Direct access to the surface object.
[read-only]
SurfaceFrameAndroid.Graphics.Rect. Retrieve the current size of the surface.

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.