ISurfaceHolderCallback2 ISurfaceHolderCallback2 Interface

Definition

Additional callbacks that can be received for ISurfaceHolderCallback.

[Android.Runtime.Register("android/view/SurfaceHolder$Callback2", "", "Android.Views.ISurfaceHolderCallback2Invoker", ApiSince=9)]
public interface ISurfaceHolderCallback2 : Android.Views.ISurfaceHolderCallback, IDisposable
type ISurfaceHolderCallback2 = interface
    interface ISurfaceHolderCallback
    interface IJavaObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

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.

Methods

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.

(Inherited from ISurfaceHolderCallback)
SurfaceCreated(ISurfaceHolder) SurfaceCreated(ISurfaceHolder)

This is called immediately after the surface is first created.

(Inherited from ISurfaceHolderCallback)
SurfaceDestroyed(ISurfaceHolder) SurfaceDestroyed(ISurfaceHolder)

This is called immediately before a surface is being destroyed.

(Inherited from ISurfaceHolderCallback)
SurfaceRedrawNeeded(ISurfaceHolder) SurfaceRedrawNeeded(ISurfaceHolder)

Called when the application needs to redraw the content of its surface, after it is resized or for some other reason.

Properties

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