Freigeben über


JobInfo.PriorityHigh Field

Definition

Caution

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

This task should be ordered ahead of most other tasks.

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

Field Value

Value = 400

Implements

Attributes

Remarks

This task should be ordered ahead of most other tasks. It may be deferred a little, but if it doesn't run at some point, the user may think something is wrong. Assuming all constraints remain satisfied (including ideal system load conditions), these jobs can have an execution time of at least 4 minutes. Setting all of your jobs to high priority will not be beneficial to your app and in fact may hurt its performance in the long run.

Java documentation for android.app.job.JobInfo.PRIORITY_HIGH.

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