Share via


JobParameters.StopReasonBackgroundRestriction Field

Definition

Caution

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

The app is restricted from running in the background.

[Android.Runtime.Register("STOP_REASON_BACKGROUND_RESTRICTION", 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 StopReasonBackgroundRestriction = 11;
[<Android.Runtime.Register("STOP_REASON_BACKGROUND_RESTRICTION", 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 StopReasonBackgroundRestriction : Android.App.Job.StopReason

Field Value

Value = 11

Implements

Attributes

Remarks

The app is restricted from running in the background.

Java documentation for android.app.job.JobParameters.STOP_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