NotificationListenerService.ReasonChannelRemoved 字段

定义

注意

This constant will be removed in the future version. Use Android.Service.Notification.NotificationCancelReason enum directly instead of this field.

由于删除了支持通道,通知已取消

[Android.Runtime.Register("REASON_CHANNEL_REMOVED", ApiSince=31)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Service.Notification.NotificationCancelReason enum directly instead of this field.", true)]
public const Android.Service.Notification.NotificationCancelReason ReasonChannelRemoved = 20;
[<Android.Runtime.Register("REASON_CHANNEL_REMOVED", ApiSince=31)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Service.Notification.NotificationCancelReason enum directly instead of this field.", true)>]
val mutable ReasonChannelRemoved : Android.Service.Notification.NotificationCancelReason

字段值

Value = 20
属性

注解

由于删除了支持通道,通知已取消

适用于 . 的 android.service.notification.NotificationListenerService.REASON_CHANNEL_REMOVEDJava 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于