ISurfaceHolderCallback ISurfaceHolderCallback Interface


A client may implement this interface to receive information about changes to the surface.

[Android.Runtime.Register("android/view/SurfaceHolder$Callback", "", "Android.Views.ISurfaceHolderCallbackInvoker", ApiSince=1)]
public interface ISurfaceHolderCallback : Android.Runtime.IJavaObject, IDisposable
type ISurfaceHolderCallback = interface
    interface IJavaObject
    interface IDisposable


Android platform documentation

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.


SurfaceChanged(ISurfaceHolder, Format, Int32, Int32) SurfaceChanged(ISurfaceHolder, Format, Int32, Int32)

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

SurfaceCreated(ISurfaceHolder) SurfaceCreated(ISurfaceHolder)

This is called immediately after the surface is first created.

SurfaceDestroyed(ISurfaceHolder) SurfaceDestroyed(ISurfaceHolder)

This is called immediately before a surface is being destroyed.


Handle Handle

Gets the JNI value of the underlying Android object.

(Inherited from IJavaObject)

Extension Methods

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Applies to