语言

Build.VERSION_CODES.Donut 字段

定义

注意

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

D.

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

字段值

Value = 4
属性

注解

D.

2009 年 9 月公开发布为 Android 1.6。

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

<ul><li> 他们必须显式请求 android.Manifest.permission#WRITE_EXTERNAL_STORAGE 权限才能修改 SD 卡的内容。 (面向早期版本的应用将始终请求权限。 <li> 他们必须显式请求 android.Manifest.permission#READ_PHONE_STATE 权限才能检索手机状态信息。 (面向早期版本的应用将始终请求权限。 <li> 它们假定支持不同的屏幕密度和大小。 (假定面向早期版本的应用仅支持中等密度正常大小的屏幕,除非另有说明)。 它们仍然可以使用支持屏幕清单标记以任意方式显式指定屏幕支持。 <li>android.widget.TabHost 将使用新的深色制表符背景设计。 </ul>

Java文档android.os.Build.VERSION_CODES.DONUT。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于