# AndroidVersion

# AndroidVersion

<br />

```
interface AndroidVersion
```

<br />

*** ** * ** ***

## 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.2/com/android/build/api/variant/AndroidVersion#apiLevel()) SDK version codes mirroring ones found in Build#VERSION_CODES on Android. |
| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`?` | [codename](https://developer.android.com/reference/tools/gradle-api/8.2/com/android/build/api/variant/AndroidVersion#codename()) Preview versions of the platform are identified by a code name.           |

## Public properties

### apiLevel

```
val apiLevel: Int
```

SDK version codes mirroring ones found in Build#VERSION_CODES on Android.  

### codename

```
val codename: String?
```

Preview versions of the platform are identified by a code name. Their API level is usually set to the value of the previous platform.