Notification.FlagPromotedOngoing 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
This constant will be removed in the future version. Use Android.App.NotificationFlags enum directly instead of this field.
如果此通知是提升的正在进行的通知,则为按位 ORed 进入标志字段,这两者都是因为它具有PromotableCharacteristics(),并且用户尚未禁用此应用的功能。
[Android.Runtime.Register("FLAG_PROMOTED_ONGOING", ApiSince=36)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.NotificationFlags enum directly instead of this field.", true)]
public const Android.App.NotificationFlags FlagPromotedOngoing = 262144;
[<Android.Runtime.Register("FLAG_PROMOTED_ONGOING", ApiSince=36)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.NotificationFlags enum directly instead of this field.", true)>]
val mutable FlagPromotedOngoing : Android.App.NotificationFlags
字段值
Value = 262144实现
- 特性
注解
如果此通知是提升的正在进行的通知,则为按位 ORed 进入标志字段,这两者都是因为它具有PromotableCharacteristics(),并且用户尚未禁用此应用的功能。 应用程序无法直接设置此标志,但发布应用和 NotificationListenerService 可以读取它。
Android 参考。android.app.Notification.FLAG_PROMOTED_ONGOING
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。