Night mode set state

An action block that sets the night user interface mode.

The fiber will proceed immediately without pause.

Night mode can’t be enabled while in car UI mode.

Note! Manufacturers can choose to prevent apps from using the API to toggle night mode, a workaround for rooted devices is to use the Shell command superuser block to execute: cmd uimode night [yes|no|auto].

Input arguments