共用方式為


NotificationManager.BubblePreferenceSelected Field

Definition

Caution

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

Indicates that only notifications selected by the user will appear as bubbles.

[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

Field Value

Value = 2
Attributes

Remarks

Indicates that only notifications selected by the user will appear as bubbles. If the app sends bubbles that haven't been selected, only the notification appear. If the bubble has been approved by the user, it will appear along with the notification.

Java documentation for android.app.NotificationManager.BUBBLE_PREFERENCE_SELECTED.

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