Build.VERSION_CODES.P 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
This constant will be removed in the future version. Use Android.OS.BuildVersionCodes enum directly instead of this field.
P.
[Android.Runtime.Register("P", ApiSince=28)]
[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 P = 28;
[<Android.Runtime.Register("P", ApiSince=28)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.OS.BuildVersionCodes enum directly instead of this field.", true)>]
val mutable P : Android.OS.BuildVersionCodes
字段值
Value = 28- 属性
注解
P.
2018 年 8 月公开发布为 Android 9。
面向此版本或更高版本的应用程序将获取这些行为的新更改。 有关此版本的详细信息,请参阅 Android 9 饼图概述。
<ul><li>android.app.Service#startForeground Service.startForeground 要求应用拥有权限android.Manifest.permission#FOREGROUND_SERVICE。</li li><>android.widget.LinearLayout 将始终测量加权儿童,即使没有多余的空间。</li></ul>
Java文档android.os.Build.VERSION_CODES.P。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。