Share via


UiModeManager.EnableCarModeGoCarHome Field

Definition

Caution

This constant will be removed in the future version. Use Android.App.EnableCarModeFlags enum directly instead of this field.

Flag for use with #enableCarMode(int): go to the car home activity as part of the enable.

[Android.Runtime.Register("ENABLE_CAR_MODE_GO_CAR_HOME")]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.EnableCarModeFlags enum directly instead of this field.", true)]
public const Android.App.EnableCarModeFlags EnableCarModeGoCarHome = 1;
[<Android.Runtime.Register("ENABLE_CAR_MODE_GO_CAR_HOME")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.EnableCarModeFlags enum directly instead of this field.", true)>]
val mutable EnableCarModeGoCarHome : Android.App.EnableCarModeFlags

Field Value

Value = 1
Attributes

Remarks

Flag for use with #enableCarMode(int): 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.

Java documentation for android.app.UiModeManager.ENABLE_CAR_MODE_GO_CAR_HOME.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to