fun setNightMode(forceNight: Boolean, delay: Long = 0L): Unit
Force AppCompatDelegate Mode to night/notnight.
forceNight - Boolean that force night mode otherwise notnight is configured.
forceNight
delay - Delay to apply mode changes.
delay