Condividi tramite


JobInfo.PriorityMax 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 run ahead of all other tasks.

[Android.Runtime.Register("PRIORITY_MAX", 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 PriorityMax = 500;
[<Android.Runtime.Register("PRIORITY_MAX", 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 PriorityMax : Android.App.Job.JobPriority

Field Value

Value = 500

Implements

Attributes

Remarks

This task should be run ahead of all other tasks. Only Expedited Jobs Builder#setExpedited(boolean) can have this priority and as such, are subject to the same execution time details noted in Builder#setExpedited(boolean). A sample task of max priority: receiving a text message and processing it to show a notification

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

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