SDL_RequestAndroidPermissionCallback.3type
Name
SDL_RequestAndroidPermissionCallback ā Callback that presents a response from a SDL_RequestAndroidPermission
call.
Header File
Defined in SDL3/SDL_system.h
Synopsis
#include "SDL3/SDL.h" 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.
Availability
This datatype is available since SDL 3.2.0.
See Also
Info
SDL 3.2.2 Simple Directmedia Layer SDL3 DATATYPES