# MinSdkVersion

# MinSdkVersion

[View Source](https://cs.android.com/search?q=file:com/android/build/api/dsl/MinSdkSpec.kt+class:com.android.build.api.dsl.MinSdkVersion)  
Added in 8.13.0-alpha02  

<br />

```
interface MinSdkVersion
```

<br />

*** ** * ** ***

DSL object to represent the min SDK version.

## Summary

|                                ### Public properties                                |
|-------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`?`       | [apiLevel](https://developer.android.com/reference/tools/gradle-api/8.13/com/android/build/api/dsl/MinSdkVersion#apiLevel()) The API level of the min SDK version.         |
| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`?` | [codeName](https://developer.android.com/reference/tools/gradle-api/8.13/com/android/build/api/dsl/MinSdkVersion#codeName()) The preview API level of the min SDK version. |

## Public properties

### apiLevel

Added in 8.13.0-alpha02  

```
val apiLevel: Int?
```

The API level of the min SDK version.  

### codeName

Added in 8.13.0-alpha02  

```
val codeName: String?
```

The preview API level of the min SDK version.