View.FindOnBackInvokedDispatcher Method

Definition

Walk up the View hierarchy to find the nearest OnBackInvokedDispatcher.

[Android.Runtime.Register("findOnBackInvokedDispatcher", "()Landroid/window/OnBackInvokedDispatcher;", "", ApiSince=33)]
public Android.Window.IOnBackInvokedDispatcher? FindOnBackInvokedDispatcher ();
[<Android.Runtime.Register("findOnBackInvokedDispatcher", "()Landroid/window/OnBackInvokedDispatcher;", "", ApiSince=33)>]
member this.FindOnBackInvokedDispatcher : unit -> Android.Window.IOnBackInvokedDispatcher

Returns

The OnBackInvokedDispatcher from this or the nearest ancestor, or null if this view is both not attached and have no ancestor providing an OnBackInvokedDispatcher.

Attributes

Remarks

Walk up the View hierarchy to find the nearest OnBackInvokedDispatcher.

Java documentation for android.view.View.findOnBackInvokedDispatcher().

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