Język

ZenDeviceEffects.ShouldUseNightMode Method

Definition

Whether night mode (aka dark theme) should be applied while the rule is active.

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

Returns

Attributes

Remarks

Whether night mode (aka dark theme) should be applied while the rule is active.

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

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