Partager via


Build.VERSION_CODES.R Field

Definition

Caution

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

Field Value

Value = 30
Attributes

Remarks

R.

Released publicly as Android 11 in September 2020.

Applications targeting this or a later release will get these new changes in behavior. For more information about this release, see the Android 11 overview.

<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 documentation for android.os.Build.VERSION_CODES.R.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to