语言

Build.VERSION_CODES.R 字段

定义

注意

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

R.

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

字段值

Value = 30
属性

注解

R.

2020 年 9 月公开发布为 Android 11。

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

<ul>li Behavior changes: all apps</li li><>Behavior changes: Apps targeting Android 11/li li<>updates<to non-SDK interface restrictions in Android 11></li></ul><>

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

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

适用于