GLSurfaceView.OnResume Method

Definition

Resumes the rendering thread, re-creating the OpenGL context if necessary.

[Android.Runtime.Register("onResume", "()V", "GetOnResumeHandler")]
public virtual void OnResume ();
[<Android.Runtime.Register("onResume", "()V", "GetOnResumeHandler")>]
abstract member OnResume : unit -> unit
override this.OnResume : unit -> unit
Attributes

Remarks

Resumes the rendering thread, re-creating the OpenGL context if necessary. It is the counterpart to #onPause().

This method should typically be called in android.app.Activity#onStart Activity.onStart.

Must not be called before a renderer has been set.

Java documentation for android.opengl.GLSurfaceView.onResume().

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