JobParameters.StopReasonCancelledByApp 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.StopReason enum directly instead of this field.
The job was cancelled directly by the app, either by calling
JobScheduler#cancel(int)
, JobScheduler#cancelAll()
, or by scheduling a
new job with the same job ID.
[Android.Runtime.Register("STOP_REASON_CANCELLED_BY_APP", 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 StopReasonCancelledByApp = 1;
[<Android.Runtime.Register("STOP_REASON_CANCELLED_BY_APP", 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 StopReasonCancelledByApp : Android.App.Job.StopReason
Field Value
Value = 1Implements
- Attributes
Remarks
The job was cancelled directly by the app, either by calling JobScheduler#cancel(int)
, JobScheduler#cancelAll()
, or by scheduling a new job with the same job ID.
Java documentation for android.app.job.JobParameters.STOP_REASON_CANCELLED_BY_APP
.
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.