UiModeManager.EnableCarModeAllowSleep 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): allow sleep mode while in car mode.

[Android.Runtime.Register("ENABLE_CAR_MODE_ALLOW_SLEEP")]
[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 EnableCarModeAllowSleep = 2;
[<Android.Runtime.Register("ENABLE_CAR_MODE_ALLOW_SLEEP")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.EnableCarModeFlags enum directly instead of this field.", true)>]
val mutable EnableCarModeAllowSleep : Android.App.EnableCarModeFlags

Field Value

EnableCarModeFlags
Attributes

Remarks

Java documentation for android.app.UiModeManager.ENABLE_CAR_MODE_ALLOW_SLEEP.

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