Settings.ActionIgnoreBackgroundDataRestrictionsSettings Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.