Share via


UiModeManager.DisableCarModeGoHome Field

Definition

Caution

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

Flag for use with #disableCarMode(int): go to the normal home activity as part of the disable.

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

Field Value

Value = 1
Attributes

Remarks

Flag for use with #disableCarMode(int): go to the normal home activity as part of the disable. Disabling this way ensures a clean transition between the current activity (in car mode) and the original home activity (which was typically last running without being in car mode).

Java documentation for android.app.UiModeManager.DISABLE_CAR_MODE_GO_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