Android.Net.ConnectivityManager.BackgroundDataSetting Property
Returns the value of the setting for background data usage.

Syntax

[System.Obsolete("deprecated")]
[get: Android.Runtime.Register("getBackgroundDataSetting", "()Z", "GetGetBackgroundDataSettingHandler")]
public virtual bool BackgroundDataSetting { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Returns the value of the setting for background data usage. If false, applications should not use the network if the application is not in the foreground. Developers should respect this setting, and check the value of this before performing any background data operations.

All applications that have background services that use the network should listen to ConnectivityManager.ActionBackgroundDataSettingChanged.

[Android Documentation]

Requirements

Namespace: Android.Net
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 3