JobService.JobEndNotificationPolicyDetach 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.JobEndNotificationPolicy enum directly instead of this field.
Detach the notification supplied to
#setNotification(JobParameters, int, Notification, int)
when the job ends.
[Android.Runtime.Register("JOB_END_NOTIFICATION_POLICY_DETACH", 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 JobEndNotificationPolicyDetach = 0;
[<Android.Runtime.Register("JOB_END_NOTIFICATION_POLICY_DETACH", 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 JobEndNotificationPolicyDetach : Android.App.Job.JobEndNotificationPolicy
Field Value
Value = 0- Attributes
Remarks
Detach the notification supplied to #setNotification(JobParameters, int, Notification, int)
when the job ends. The notification will remain shown even after JobScheduler stops the job.
Java documentation for android.app.job.JobService.JOB_END_NOTIFICATION_POLICY_DETACH
.
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.