Share via


JobService.JobEndNotificationPolicyRemove Field

Definition

Caution

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

Cancel and remove the notification supplied to #setNotification(JobParameters, int, Notification, int) when the job ends.

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

Field Value

Value = 1
Attributes

Remarks

Cancel and remove the notification supplied to #setNotification(JobParameters, int, Notification, int) when the job ends. The notification will be removed from the notification shade.

Java documentation for android.app.job.JobService.JOB_END_NOTIFICATION_POLICY_REMOVE.

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