How to determine the Android API level of the device running my app?

I’m looking for a straightforward way to retrieve the API level of the Android device on which my application is currently operating. I know it’s not complicated, but my attempts to find relevant information have only led to overwhelming amounts of irrelevant content.

Heeyy! :hugs: you can just use Build.VERSION.SDK_INT in your Android code. That gives u the API level directly. Super simple! :raised_hands: