Langue

Context.BindAllowActivityStarts Champ

Définition

Attention

This constant will be removed in the future version. Use Android.Content.Bind enum directly instead of this field.

Indicateur pour #bindService: si la liaison à partir d’une application visible, le service lié est autorisé à démarrer une activité en arrière-plan.

[Android.Runtime.Register("BIND_ALLOW_ACTIVITY_STARTS", ApiSince=34)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Content.Bind enum directly instead of this field.", true)]
public const Android.Content.Bind BindAllowActivityStarts = 512;
[<Android.Runtime.Register("BIND_ALLOW_ACTIVITY_STARTS", ApiSince=34)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Content.Bind enum directly instead of this field.", true)>]
val mutable BindAllowActivityStarts : Android.Content.Bind

Valeur de champ

Value = 512
Attributs

Remarques

Indicateur pour #bindService: si la liaison à partir d’une application visible, le service lié est autorisé à démarrer une activité en arrière-plan. Il s’agissait du comportement par défaut avant la version android.os.Build.VERSION_CODES#UPSIDE_DOWN_CAKEdu Kit de développement logiciel (SDK). Depuis lors, le comportement par défaut a changé pour interdire au service lié de démarrer une activité en arrière-plan même si l’application liée à elle est au premier plan, sauf si cet indicateur est spécifié lors de la liaison.

Java documentation pour android.content.Context.BIND_ALLOW_ACTIVITY_STARTS.

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 à