getResolvedUiMode

Returns the actual resolved UI mode set in the app. So if getUIOptions returns UIOptions.uiModeSettings equal to UiModeSettings.AUTO or UiModeSettings.SYSTEM, this method would return the actual mode which the app has and which the user sees.

Which means this function returns one of next values:

And never: