Lingua

Settings.ActionIgnoreBackgroundDataRestrictionsSettings Campo

Definizione

Azione attività: mostra la schermata per controllare le restrizioni dei dati in background per una determinata applicazione.

[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

Valore del campo

Attributi

Commenti

Azione attività: mostra la schermata per controllare le restrizioni dei dati in background per una determinata applicazione.

Input: URI dei dati della finalità impostato con un nome dell'applicazione, usando lo schema "package" (ad esempio "package:com.my.app").

Output: Niente.

Le applicazioni possono anche usare android.net.ConnectivityManager#getRestrictBackgroundStatus ConnectivityManager#getRestrictBackgroundStatus() per determinare lo stato delle restrizioni relative ai dati in background.

In alcuni casi, un'attività corrispondente potrebbe non esistere, quindi assicurarsi di proteggersi da questa situazione.

per android.provider.Settings.ACTION_IGNORE_BACKGROUND_DATA_RESTRICTIONS_SETTINGS.

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a