Language

ZenDeviceEffects.ShouldSuppressAmbientDisplay Method

Definition

Whether the ambient (always-on) display feature should be disabled while the rule is active.

[Android.Runtime.Register("shouldSuppressAmbientDisplay", "()Z", "", ApiSince=35)]
public bool ShouldSuppressAmbientDisplay();
[<Android.Runtime.Register("shouldSuppressAmbientDisplay", "()Z", "", ApiSince=35)>]
member this.ShouldSuppressAmbientDisplay : unit -> bool

Returns

true if the effects request that the always-on display be disabled while the rule is active; otherwise, false.

Attributes

Remarks

Whether the ambient (always-on) display feature should be disabled while the rule is active. This will have no effect if the device doesn't support always-on display or if it's not generally enabled.

Android reference for android.service.notification.ZenDeviceEffects.shouldSuppressAmbientDisplay.

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