Partager via


Build.VERSION_CODES.OMr1 Field

Definition

Caution

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

Field Value

Value = 27
Attributes

Remarks

O MR1.

Released publicly as Android 8.1 in December 2017.

Applications targeting this or a later release will get these new changes in behavior. For more information about this release, see Android 8.1 features and APIs.

<ul> <li>Apps exporting and linking to apk shared libraries must explicitly enumerate all signing certificates in a consistent order.</li> <li>android.R.attr#screenOrientation can not be used to request a fixed orientation if the associated activity is not fullscreen and opaque.</li> </ul>

Java documentation for android.os.Build.VERSION_CODES.O_MR1.

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