Build.VERSION_CODES.Eclair 字段

定义

注意

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

E.

[Android.Runtime.Register("ECLAIR")]
[System.Obsolete("This constant will be removed in the future version. Use Android.OS.BuildVersionCodes enum directly instead of this field.", true)]
public const Android.OS.BuildVersionCodes Eclair = 5;
[<Android.Runtime.Register("ECLAIR")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.OS.BuildVersionCodes enum directly instead of this field.", true)>]
val mutable Eclair : Android.OS.BuildVersionCodes

字段值

Value = 5
属性

注解

E.

2009 年 10 月公开发布为 Android 2.0。

面向此或更高版本的应用程序将获取这些行为的新更改:

<ul><li> 函数 android.app.Service#onStartCommand Service.onStartCommand 将返回新 android.app.Service#START_STICKY 行为,而不是旧的兼容性 android.app.Service#START_STICKY_COMPATIBILITY。 <li> 该 android.app.Activity 类现在将在向上键而不是向下键上执行键按下,以便能够从虚拟键中检测已取消的按下。 <li> 该 android.widget.TabWidget 类将为选项卡使用新的配色方案。 在新方案中,前景选项卡具有中等灰色背景,背景选项卡的背景为深灰色背景。 </ul>

适用于 . 的 android.os.Build.VERSION_CODES.ECLAIRJava 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于