SDL_RequestAndroidPermissionCallback

Callback that presents a response from a SDL_RequestAndroidPermission call.

Header File

Defined in <SDL3/SDL_system.h>

Syntax

typedef void (SDLCALL *SDL_RequestAndroidPermissionCallback)(void *userdata, const char *permission, bool granted);

Function Parameters

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

Version

This datatype is available since SDL 3.2.0.

See Also


CategoryAPI, CategoryAPIDatatype, CategorySystem