public static class

Build.VERSION

extends Object
java.lang.Object
   ↳ android.os.Build.VERSION

Class Overview

Various version strings.

Summary

Fields
public static final String CODENAME The current development codename, or the string "REL" if this is a release build.
public static final String INCREMENTAL The internal value used by the underlying source control to represent this build.
public static final String RELEASE The user-visible version string.
public static final String SDK This field is deprecated. Use SDK_INT to easily get this as an integer.
public static final int SDK_INT The user-visible SDK version of the framework; its possible values are defined in Build.VERSION_CODES.
Public Constructors
Build.VERSION()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static final String CODENAME

Since: API Level 4

The current development codename, or the string "REL" if this is a release build.

public static final String INCREMENTAL

Since: API Level 1

The internal value used by the underlying source control to represent this build. E.g., a perforce changelist number or a git hash.

public static final String RELEASE

Since: API Level 1

The user-visible version string. E.g., "1.0" or "3.4b5".

public static final String SDK

Since: API Level 1

This field is deprecated.
Use SDK_INT to easily get this as an integer.

The user-visible SDK version of the framework in its raw String representation; use SDK_INT instead.

public static final int SDK_INT

Since: API Level 4

The user-visible SDK version of the framework; its possible values are defined in Build.VERSION_CODES.

Public Constructors

public Build.VERSION ()

Since: API Level 1