语言

NotificationManager.BubblePreferenceSelected 字段

定义

注意

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

指示只有用户选择的通知才会显示为气泡。

[Android.Runtime.Register("BUBBLE_PREFERENCE_SELECTED", ApiSince=31)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.NotificationBubblePreference enum directly instead of this field.", true)]
public const Android.App.NotificationBubblePreference BubblePreferenceSelected = 2;
[<Android.Runtime.Register("BUBBLE_PREFERENCE_SELECTED", ApiSince=31)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.NotificationBubblePreference enum directly instead of this field.", true)>]
val mutable BubblePreferenceSelected : Android.App.NotificationBubblePreference

字段值

Value = 2
特性

注解

指示只有用户选择的通知才会显示为气泡。 如果应用发送尚未选择的气泡,则只会显示通知。 如果用户已批准气泡,则会随通知一起显示。

Android 参考。android.app.NotificationManager.BUBBLE_PREFERENCE_SELECTED

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于