Android Guides | Samples

Android.OS.Build.VERSION_CODES Class

Enumeration of the currently known SDK version codes.

See Also: Build+VERSION_CODES

Syntax

[Android.Runtime.Register("android/os/Build$VERSION_CODES", DoNotGenerateAcw=true)]
public class Build.VERSION_CODES : Object

Remarks

Enumeration of the currently known SDK version codes. These are the values that can be found in VERSION.Sdk. Version numbers increment monotonically with each official platform release.

[Android Documentation]

Requirements

Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 4

The members of Android.OS.Build.VERSION_CODES are listed below.

See Also: Object

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Fields

const
BaseBuildVersionCodes (1). October 2008: The original, first, version of Android.
const
Base11BuildVersionCodes (2). February 2009: First Android update, officially called 1.
const
CupcakeBuildVersionCodes (3). May 2009: Android 1.
const
CurDevelopmentBuildVersionCodes (10000). Magic version number for a current development build, which has not yet turned into an official release.
const
DonutBuildVersionCodes (4). September 2009: Android 1.
const
EclairBuildVersionCodes (5). November 2009: Android 2.
const
Eclair01BuildVersionCodes (6). December 2009: Android 2.
const
EclairMr1BuildVersionCodes (7). January 2010: Android 2.
const
FroyoBuildVersionCodes (8). June 2010: Android 2.
const
GingerbreadBuildVersionCodes (9). November 2010: Android 2.
const
GingerbreadMr1BuildVersionCodes (10). February 2011: Android 2.
const
HoneycombBuildVersionCodes (11). February 2011: Android 3.
const
HoneycombMr1BuildVersionCodes (12). May 2011: Android 3.
const
HoneycombMr2BuildVersionCodes (13). June 2011: Android 3.
const
IceCreamSandwichBuildVersionCodes (14). October 2011: Android 4.
const
IceCreamSandwichMr1BuildVersionCodes (15). December 2011: Android 4.
const
JellyBeanBuildVersionCodes (16). June 2012: Android 4.
const
JellyBeanMr1BuildVersionCodes (17). Android 4.
const
JellyBeanMr2BuildVersionCodes (18). Android 4.
const
KitkatBuildVersionCodes (19).
const
KitkatWatchBuildVersionCodes (20).
const
LBuildVersionCodes (21).
const
LollipopBuildVersionCodes (21).

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.