Share via


JobScheduler.PendingJobReasonBackgroundRestriction Field

Definition

Caution

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

The app is restricted from running in the background.

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

Field Value

Value = 3
Attributes

Remarks

The app is restricted from running in the background.

Java documentation for android.app.job.JobScheduler.PENDING_JOB_REASON_BACKGROUND_RESTRICTION.

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