fromConfiguration

EN Returns the UiModeType corresponding to the Configuration.uiMode value.

PT Retorna o UiModeType correspondente ao valor de Configuration.uiMode.