语言

Build.VERSION_CODES.OMr1 字段

定义

注意

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

O MR1。

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

字段值

Value = 27
属性

注解

O MR1。

2017 年 12 月公开发布为 Android 8.1。

面向此版本或更高版本的应用程序将获取这些行为的新更改。 有关此版本的详细信息,请参阅 Android 8.1 功能和 API。

<ul><li>Apps 导出和链接到 apk 共享库必须按一致的顺序显式枚举所有签名证书。<如果关联的活动不全屏和不透明,则 /li><li>android.R.attr#screenOrientation 不能用于请求固定方向。</li></ul>

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

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

适用于