Freigeben über


UsageStatsManager.StandbyBucketRestricted Field

Definition

Caution

This constant will be removed in the future version. Use Android.App.Usage.UsageStatsInterval enum directly instead of this field.

The app has not be used for several days, is unlikely to be used for several days, and has been misbehaving in some manner.

[Android.Runtime.Register("STANDBY_BUCKET_RESTRICTED", ApiSince=30)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.Usage.UsageStatsInterval enum directly instead of this field.", true)]
public const Android.App.Usage.UsageStatsInterval StandbyBucketRestricted = 45;
[<Android.Runtime.Register("STANDBY_BUCKET_RESTRICTED", ApiSince=30)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.Usage.UsageStatsInterval enum directly instead of this field.", true)>]
val mutable StandbyBucketRestricted : Android.App.Usage.UsageStatsInterval

Field Value

Value = 45
Attributes

Remarks

The app has not be used for several days, is unlikely to be used for several days, and has been misbehaving in some manner. Apps in this bucket will have the most restrictions, including network restrictions and additional restrictions on jobs.

Note: this bucket is not enabled in Build.VERSION_CODES#R.

Java documentation for android.app.usage.UsageStatsManager.STANDBY_BUCKET_RESTRICTED.

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