Udostępnij za pośrednictwem


Build.VERSION.Sdk Property

Definition

Caution

deprecated

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

[Android.Runtime.Register("SDK")]
[System.Obsolete("deprecated")]
public static string Sdk { get; }
[<Android.Runtime.Register("SDK")>]
[<System.Obsolete("deprecated")>]
static member Sdk : string

Property Value

Attributes

Remarks

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

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

Java documentation for android.os.Build.VERSION.SDK.

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