ArchivedPackageInfo.SetTargetSdkVersion(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This is the SDK version number that the application is targeting, as specified by the
<manifest> tag's android.R.styleable#AndroidManifestUsesSdk_targetSdkVersion
attribute.
[Android.Runtime.Register("setTargetSdkVersion", "(I)Landroid/content/pm/ArchivedPackageInfo;", "", ApiSince=35)]
public Android.Content.PM.ArchivedPackageInfo SetTargetSdkVersion (int value);
[<Android.Runtime.Register("setTargetSdkVersion", "(I)Landroid/content/pm/ArchivedPackageInfo;", "", ApiSince=35)>]
member this.SetTargetSdkVersion : int -> Android.Content.PM.ArchivedPackageInfo
Parameters
- value
- Int32
Returns
- Attributes
Remarks
This is the SDK version number that the application is targeting, as specified by the <manifest> tag's android.R.styleable#AndroidManifestUsesSdk_targetSdkVersion
attribute.
Java documentation for android.content.pm.ArchivedPackageInfo.setTargetSdkVersion(int)
.
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.