Version: Unity 6.7 Beta (6000.7)
LanguageEnglish
  • C#

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Parameters

Parameter Description
major The major API level, for example 36.
minor The minor version of the API level, for example 1. Defaults to 0.

Description

Creates an Android SDK version from a major API level and an optional minor version.

Use this constructor to build a value for PlayerSettings.Android.compileSdkVersion when you need to target a minor SDK release, such as 36.1, instead of a whole API level. Omit minor, or pass 0, to represent a whole API level with no minor component.