Langue

ActivityOptions.PendingIntentBackgroundActivityLaunchAllowed Propriété

Définition

Cette méthode a été déconseillée au niveau de l’API 34.

public virtual bool PendingIntentBackgroundActivityLaunchAllowed { [Android.Runtime.Register("isPendingIntentBackgroundActivityLaunchAllowed", "()Z", "GetIsPendingIntentBackgroundActivityLaunchAllowedHandler", ApiSince=33)] get; [Android.Runtime.Register("setPendingIntentBackgroundActivityLaunchAllowed", "(Z)V", "GetSetPendingIntentBackgroundActivityLaunchAllowed_ZHandler", ApiSince=33)] set; }
[<get: Android.Runtime.Register("isPendingIntentBackgroundActivityLaunchAllowed", "()Z", "GetIsPendingIntentBackgroundActivityLaunchAllowedHandler", ApiSince=33)>]
[<set: Android.Runtime.Register("setPendingIntentBackgroundActivityLaunchAllowed", "(Z)V", "GetSetPendingIntentBackgroundActivityLaunchAllowed_ZHandler", ApiSince=33)>]
member this.PendingIntentBackgroundActivityLaunchAllowed : bool with get, set

Valeur de propriété

Attributs

Remarques

Cette méthode a été déconseillée au niveau de l’API 34. utilisez getPendingIntentBackgroundActivityStartMode() car pour les applications ciblant Build.VERSION_CODES. UPSIDE_DOWN_CAKE ou plus cette valeur peut ne pas correspondre au comportement réel si la valeur n’a pas été définie explicitement.

L’activité Get PendingIntent est autorisée à être démarrée en arrière-plan si l’appelant peut démarrer des activités en arrière-plan.

Référence Android pour android.app.ActivityOptions.isPendingIntentBackgroundActivityLaunchAllowed.

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 à