FileDocCategorySizeDatePackage
IUiModeManager.javaAPI DocAndroid 5.1 API6447Sat Mar 14 05:47:58 GMT 2015android.app

IUiModeManager

public interface IUiModeManager implements android.os.IInterface
Interface used to control special UI modes.
hide

Fields Summary
Constructors Summary
Methods Summary
public voiddisableCarMode(int flags)
Disables the car mode.

public voidenableCarMode(int flags)
Enables the car mode. Only the system can do this.

hide

public intgetCurrentModeType()
Return the current running mode.

public intgetNightMode()
Gets the currently configured night mode. Return 1 for notnight, 2 for night, and 3 for automatic mode switching.

public voidsetNightMode(int mode)
Sets the night mode. The mode can be one of: 1 - notnight mode 2 - night mode 3 - automatic mode switching