Configuration.IsNightModeActive Property
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.
Retuns whether the configuration is in night mode
public bool IsNightModeActive { [Android.Runtime.Register("isNightModeActive", "()Z", "", ApiSince=30)] get; }
[<get: Android.Runtime.Register("isNightModeActive", "()Z", "", ApiSince=30)>]
member this.IsNightModeActive : bool
Property Value
true if night mode is active and false otherwise
- Attributes
Remarks
Retuns whether the configuration is in night mode
Java documentation for android.content.res.Configuration.isNightModeActive()
.
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.