Share via


IOnBackInvokedCallback.OnBackInvoked Method

Definition

Called when a back gesture has been completed and committed, or back button pressed has been released and committed.

[Android.Runtime.Register("onBackInvoked", "()V", "GetOnBackInvokedHandler:Android.Window.IOnBackInvokedCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=33)]
public void OnBackInvoked ();
[<Android.Runtime.Register("onBackInvoked", "()V", "GetOnBackInvokedHandler:Android.Window.IOnBackInvokedCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=33)>]
abstract member OnBackInvoked : unit -> unit
Attributes

Remarks

Called when a back gesture has been completed and committed, or back button pressed has been released and committed.

Java documentation for android.window.OnBackInvokedCallback.onBackInvoked().

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