Android Guides | Samples

Android.App.EnableCarModeFlags Enumeration

Enumerates values returned by several types and taken as a parameter of the UiModeManager.EnableCarMode member.

Syntax

[System.Flags]
public enum EnableCarModeFlags

Remarks

Members

Member NameDescription
AllowSleep
GoCarHomeFlag for use with UiModeManager.EnableCarMode(EnableCarModeFlags): go to the car home activity as part of the enable. Enabling this way ensures a clean transition between the current activity (in non-car-mode) and the car home activity that will serve as home while in car mode. This will switch to the car home activity even if we are already in car mode.
None

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0

The members of Android.App.EnableCarModeFlags are listed below.

See Also: Enum

Public Fields

AllowSleepEnableCarModeFlags.
GoCarHomeEnableCarModeFlags. Flag for use with UiModeManager.EnableCarMode(EnableCarModeFlags): go to the car home activity as part of the enable. Enabling this way ensures a clean transition between the current activity (in non-car-mode) and the car home activity that will serve as home while in car mode. This will switch to the car home activity even if we are already in car mode.
NoneEnableCarModeFlags.