Language

GLSurfaceView.SurfaceRedrawNeededAsync(ISurfaceHolder, IRunnable) Method

Definition

This method is part of the SurfaceHolder.

[Android.Runtime.Register("surfaceRedrawNeededAsync", "(Landroid/view/SurfaceHolder;Ljava/lang/Runnable;)V", "GetSurfaceRedrawNeededAsync_Landroid_view_SurfaceHolder_Ljava_lang_Runnable_Handler", ApiSince=26)]
public virtual void SurfaceRedrawNeededAsync(Android.Views.ISurfaceHolder? holder, Java.Lang.IRunnable? finishDrawing);
[<Android.Runtime.Register("surfaceRedrawNeededAsync", "(Landroid/view/SurfaceHolder;Ljava/lang/Runnable;)V", "GetSurfaceRedrawNeededAsync_Landroid_view_SurfaceHolder_Ljava_lang_Runnable_Handler", ApiSince=26)>]
abstract member SurfaceRedrawNeededAsync : Android.Views.ISurfaceHolder * Java.Lang.IRunnable -> unit
override this.SurfaceRedrawNeededAsync : Android.Views.ISurfaceHolder * Java.Lang.IRunnable -> unit

Parameters

holder
ISurfaceHolder

The SurfaceHolder which needs redrawing. This value cannot be null.

finishDrawing
IRunnable

A runnable to signal completion. This may be invoked from any thread. This value cannot be null.

Implements

Attributes

Remarks

This method is part of the SurfaceHolder.Callback2 interface, and is not normally called or subclassed by clients of GLSurfaceView.

Java documentation for android.opengl.GLSurfaceView.surfaceRedrawNeededAsync(android.view.SurfaceHolder, java.lang.Runnable).

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.

Applies to