# AndroidSdkVersionFull(int, int)

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

## Definition

* **Type:** Constructor
* **Namespace:** [UnityEditor](/engine/6000.7/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public AndroidSdkVersionFull(int major, int minor = 0)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The major API level, for example 36.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The minor version of the API level, for example 1. Defaults to 0.

### Remarks

Use this constructor to build a value for [PlayerSettings.Android.compileSdkVersion](/engine/6000.7/script-reference/unityeditor/playersettings/android/compilesdkversion.md) 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.
