ConnectivityManager.RestrictBackgroundStatusEnabled Champ
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Attention
This constant will be removed in the future version. Use Android.Net.RestrictBackgroundStatus enum directly instead of this field.
L’appareil limite l’activité réseau limitée pendant l’exécution de l’application en arrière-plan.
[Android.Runtime.Register("RESTRICT_BACKGROUND_STATUS_ENABLED", ApiSince=24)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Net.RestrictBackgroundStatus enum directly instead of this field.", true)]
public const Android.Net.RestrictBackgroundStatus RestrictBackgroundStatusEnabled = 3;
[<Android.Runtime.Register("RESTRICT_BACKGROUND_STATUS_ENABLED", ApiSince=24)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Net.RestrictBackgroundStatus enum directly instead of this field.", true)>]
val mutable RestrictBackgroundStatusEnabled : Android.Net.RestrictBackgroundStatus
Valeur de champ
Value = 3- Attributs
Remarques
Dans cet état, l’application ne doit pas essayer d’utiliser le réseau en cours d’exécution en arrière-plan, car elle serait refusée.
Java documentation pour android.net.ConnectivityManager.RESTRICT_BACKGROUND_STATUS_ENABLED.
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.