The members of Android.App.UiModeManager are listed below.
See Also: Inherited members from Java.Lang.Object
A constructor used when creating managed representations of JNI objects; called by the runtime. |
const | DisableCarModeGoHome | DisableCarModeFlags (1). Flag for use with UiModeManager.DisableCarMode(DisableCarModeFlags): go to the normal home activity as part of the disable. |
const | EnableCarModeAllowSleep | EnableCarModeFlags (2). Flag for use with UiModeManager.EnableCarMode(EnableCarModeFlags): allow sleep mode while in car mode. |
const | EnableCarModeGoCarHome | EnableCarModeFlags (1). Flag for use with UiModeManager.EnableCarMode(EnableCarModeFlags): go to the car home activity as part of the enable. |
const | ModeNightAuto | UiNightMode (0). Constant for UiModeManager.NightMode and UiModeManager.NightMode: automatically switch night mode on and off based on the time. |
const | ModeNightNo | UiNightMode (1). Constant for UiModeManager.NightMode and UiModeManager.NightMode: never run in night mode. |
const | ModeNightYes | UiNightMode (2). Constant for UiModeManager.NightMode and UiModeManager.NightMode: always run in night mode. |
static | ActionEnterCarMode | string. Broadcast sent when the device's UI has switched to car mode, either by being placed in a car dock or explicit action of the user. |
static | ActionEnterDeskMode | string. Broadcast sent when the device's UI has switched to desk mode, by being placed in a desk dock. |
static | ActionExitCarMode | string. Broadcast sent when the device's UI has switch away from car mode back to normal mode. |
static | ActionExitDeskMode | string. Broadcast sent when the device's UI has switched away from desk mode back to normal mode. |
[read-only] | CurrentModeType | Android.Content.Res.UiMode. Return the current running mode type. |
NightMode | UiNightMode. Returns the currently configured night mode. |
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
DisableCarMode(DisableCarModeFlags)Turn off special mode if currently in car mode. | ||
EnableCarMode(EnableCarModeFlags)Force device into car mode, like it had been placed in the car dock. | ||
static | FromContext(Android.Content.Context)Documentation for this section has not yet been entered. |