(This is the legacy documentation for stable SDL2, the current stable version; SDL3 is the current development version.)

SDL_GetAndroidSDKVersion

Query Android API level of the current device.

Header File

Defined in SDL_system.h

Syntax

int SDL_GetAndroidSDKVersion(void);

Return Value

Returns the Android API level.

Remarks

Version

This function is available since SDL 2.0.12.


CategoryAPI, CategoryAPIFunction, CategorySystem