Langue

Activity.OnBackInvokedDispatcher Propriété

Définition

Retourne l’instance OnBackInvokedDispatcher associée à la fenêtre à laquelle cette activité est attachée.

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

Valeur de propriété

Cette valeur ne peut pas être null.

Attributs

Remarques

Retourne l’instance OnBackInvokedDispatcher associée à la fenêtre à laquelle cette activité est attachée.

Lève : IllegalStateException si cette activité n’est pas visuelle.

Référence Android pour android.app.Activity.getOnBackInvokedDispatcher.

Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.

S’applique à