Activity.OnPause Method


Called as part of the activity lifecycle when the user no longer actively interacts with the activity, but it is still visible on screen.

[Android.Runtime.Register("onPause", "()V", "GetOnPauseHandler")]
protected virtual void OnPause ();
[<Android.Runtime.Register("onPause", "()V", "GetOnPauseHandler")>]
abstract member OnPause : unit -> unit
override this.OnPause : unit -> unit


Java documentation for

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

See also