Język

ZenPolicy.Builder.ShowPeeking(Boolean) Method

Definition

Whether notifications intercepted by DND are allowed to peek. When show is true, they are allowed to peek; when false, they are prevented from peeking.

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

Parameters

show
Boolean

true to allow notifications intercepted by Do Not Disturb to peek; false to prevent peeking.

Returns

This builder.

Attributes

Remarks

Whether notifications intercepted by DND are allowed to peek. When show is true, they are allowed to peek; when false, they are prevented from peeking.

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

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