ZenPolicy.Builder.ShowLights(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Whether notification lights from notifications intercepted by DND are shown. When show is true, they are allowed; when false, they are blocked.
[Android.Runtime.Register("showLights", "(Z)Landroid/service/notification/ZenPolicy$Builder;", "", ApiSince=29)]
public Android.Service.Notification.ZenPolicy.Builder ShowLights(bool show);
[<Android.Runtime.Register("showLights", "(Z)Landroid/service/notification/ZenPolicy$Builder;", "", ApiSince=29)>]
member this.ShowLights : bool -> Android.Service.Notification.ZenPolicy.Builder
Parameters
- show
- Boolean
true to allow lights for notifications intercepted by Do Not Disturb; false to suppress those lights.
Returns
This builder.
- Attributes
Remarks
Whether notification lights from notifications intercepted by DND are shown. When show is true, they are allowed; when false, they are blocked.
Android reference for android.service.notification.ZenPolicy.Builder.showLights.
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.