Condividi tramite


JobParameters.StopReasonQuota Field

Definition

Caution

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

The app has consumed all of its current quota.

[Android.Runtime.Register("STOP_REASON_QUOTA", ApiSince=31)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.Job.StopReason enum directly instead of this field.", true)]
public const Android.App.Job.StopReason StopReasonQuota = 10;
[<Android.Runtime.Register("STOP_REASON_QUOTA", ApiSince=31)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.Job.StopReason enum directly instead of this field.", true)>]
val mutable StopReasonQuota : Android.App.Job.StopReason

Field Value

Value = 10

Implements

Attributes

Remarks

The app has consumed all of its current quota. Each app is assigned a quota of how much it can run jobs within a certain time frame. The quota is informed, in part, by app standby buckets. Once an app has used up all of its quota, it won't be able to start jobs until quota is replenished, is changed, or is temporarily not applied.

Java documentation for android.app.job.JobParameters.STOP_REASON_QUOTA.

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