ApplicationInfo.CompileSdkVersion Property

Definition

The user-visible SDK version (ex.

[Android.Runtime.Register("compileSdkVersion", ApiSince=31)]
public int CompileSdkVersion { get; set; }
[<Android.Runtime.Register("compileSdkVersion", ApiSince=31)>]
member this.CompileSdkVersion : int with get, set

Property Value

Attributes

Remarks

The user-visible SDK version (ex. 26) of the framework against which the application claims to have been compiled, or 0 if not specified.

This property is the compile-time equivalent of android.os.Build.VERSION#CODENAME Build.VERSION.SDK_INT.

Java documentation for android.content.pm.ApplicationInfo.compileSdkVersion.

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