ConnectivityManager.RestrictBackgroundStatusEnabled Campo

Definição

Cuidado

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

O dispositivo está restringindo a atividade de rede limitada enquanto o aplicativo está em execução em segundo plano.

[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

Valor do campo

Value = 3
Atributos

Comentários

Nesse estado, o aplicativo não deve tentar usar a rede durante a execução em segundo plano, pois ela seria negada.

Java documentação para android.net.ConnectivityManager.RESTRICT_BACKGROUND_STATUS_ENABLED.

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Project Open Source do Open Source e usadas de acordo com os termos descritos na Creative Commons 2.5.

Aplica-se a