Scroll to navigation

SDL_GetOpenHarmonySDKVersion(3) SDL3 FUNCTIONS SDL_GetOpenHarmonySDKVersion(3)

NAME

SDL_GetOpenHarmonySDKVersion - Query OpenHarmony API level of the current device.

SYNOPSIS

#include <SDL3/SDL_system.h>
int SDL_GetOpenHarmonySDKVersion(void);

DESCRIPTION

• API level 20: OpenHarmony 6.0.0

• API level 18: OpenHarmony 5.1.0

• API level 16: OpenHarmony 5.0.4

• API level 15: OpenHarmony 5.0.3

• API level 14: OpenHarmony 5.0.2

• API level 13: OpenHarmony 5.0.1

• API level 12: OpenHarmony 5.0.0

• API level 11: OpenHarmony 4.1.0

• API level 10: OpenHarmony 4.0.0

• API level 9: OpenHarmony 3.2.0

RETURN VALUE

Returns the OpenHarmony API level.

THREAD SAFETY

It is safe to call this function from any thread.

AVAILABILITY

This function is available since SDL 3.6.0.

SDL 3.5.0 Simple Directmedia Layer