Share via


Settings.ActionIgnoreBackgroundDataRestrictionsSettings Field

Definition

Activity Action: Show screen for controlling background data restrictions for a particular application.

[Android.Runtime.Register("ACTION_IGNORE_BACKGROUND_DATA_RESTRICTIONS_SETTINGS", ApiSince=24)]
public const string ActionIgnoreBackgroundDataRestrictionsSettings;
[<Android.Runtime.Register("ACTION_IGNORE_BACKGROUND_DATA_RESTRICTIONS_SETTINGS", ApiSince=24)>]
val mutable ActionIgnoreBackgroundDataRestrictionsSettings : string

Field Value

Attributes

Remarks

Activity Action: Show screen for controlling background data restrictions for a particular application.

Input: Intent's data URI set with an application name, using the "package" schema (like "package:com.my.app").

Output: Nothing.

Applications can also use android.net.ConnectivityManager#getRestrictBackgroundStatus ConnectivityManager#getRestrictBackgroundStatus() to determine the status of the background data restrictions for them.

<p class="note"> In some cases, a matching Activity may not exist, so ensure you safeguard against this.

Java documentation for android.provider.Settings.ACTION_IGNORE_BACKGROUND_DATA_RESTRICTIONS_SETTINGS.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to