Sdílet prostřednictvím


Activity.OnBackInvokedDispatcher Property

Definition

Returns the OnBackInvokedDispatcher instance associated with the window that this activity is attached to.

public virtual Android.Window.IOnBackInvokedDispatcher OnBackInvokedDispatcher { [Android.Runtime.Register("getOnBackInvokedDispatcher", "()Landroid/window/OnBackInvokedDispatcher;", "GetGetOnBackInvokedDispatcherHandler", ApiSince=33)] get; }
[<get: Android.Runtime.Register("getOnBackInvokedDispatcher", "()Landroid/window/OnBackInvokedDispatcher;", "GetGetOnBackInvokedDispatcherHandler", ApiSince=33)>]
member this.OnBackInvokedDispatcher : Android.Window.IOnBackInvokedDispatcher

Property Value

Attributes

Remarks

Returns the OnBackInvokedDispatcher instance associated with the window that this activity is attached to.

Java documentation for android.app.Activity.getOnBackInvokedDispatcher().

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