JobInfo.PriorityMax Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This constant will be removed in the future version. Use Android.App.Job.JobPriority enum directly instead of this field.
This task is critical to user experience or functionality and 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 = 500Implements
- Attributes
Remarks
This task is critical to user experience or functionality and should be run ahead of all other tasks. Only Builder#setExpedited(boolean) expedited jobs
and Builder#setUserInitiated(boolean) user-initiated jobs
can have this priority.
Example tasks of max priority: <ul> <li>Receiving a text message and processing it to show a notification</li> <li>Downloading or uploading some content the user requested to transfer immediately</li> </ul>
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.