Scroll to navigation

SDL_RequestOpenHarmonyPermissionCallback(3type) SDL3 DATATYPES SDL_RequestOpenHarmonyPermissionCallback(3type)

NAME

SDL_RequestOpenHarmonyPermissionCallback - Callback that presents SDL_RequestOpenHarmonyPermission() results.

SYNOPSIS

#include <SDL3/SDL_system.h>
typedef void (SDLCALL *SDL_RequestOpenHarmonyPermissionCallback)(void *userdata, const char *permission, bool granted);

FUNCTION PARAMETERS

an app-controlled pointer that is passed to the callback.
the OpenHarmony-specific permission name that was requested.
true if permission is granted, false if denied.

AVAILABILITY

This datatype is available since SDL 3.6.0.

SEE ALSO

SDL_RequestOpenHarmonyPermission(3)

SDL 3.5.0 Simple Directmedia Layer