from Configuration
EN Maps the UI mode mask from the Android Configuration to the UiModeType enum.
PT Mapeia a máscara de modo de UI da Configuração do Android para o enum UiModeType.
Return
The corresponding UiModeType.
Parameters
ui Mode
The 'uiMode' field of the Configuration.