Język

ZenPolicy.Builder.ShowBadges(Boolean) Method

Definition

Whether badges from notifications intercepted by DND are allowed on devices that support badging.

[Android.Runtime.Register("showBadges", "(Z)Landroid/service/notification/ZenPolicy$Builder;", "", ApiSince=29)]
public Android.Service.Notification.ZenPolicy.Builder ShowBadges(bool show);
[<Android.Runtime.Register("showBadges", "(Z)Landroid/service/notification/ZenPolicy$Builder;", "", ApiSince=29)>]
member this.ShowBadges : bool -> Android.Service.Notification.ZenPolicy.Builder

Parameters

show
Boolean

true to allow badges for notifications intercepted by Do Not Disturb; false to suppress those badges.

Returns

This builder.

Attributes

Remarks

Whether badges from notifications intercepted by DND are allowed on devices that support badging.

Android reference for android.service.notification.ZenPolicy.Builder.showBadges.

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