JobParameters.StopReasonPreempt Field

Definition

Caution

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

The job was stopped to run a higher priority job of the app.

[Android.Runtime.Register("STOP_REASON_PREEMPT", 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 StopReasonPreempt = 2;
[<Android.Runtime.Register("STOP_REASON_PREEMPT", 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 StopReasonPreempt : Android.App.Job.StopReason

Field Value

Value = 2

Implements

Attributes

Remarks

The job was stopped to run a higher priority job of the app.

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

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