SDL_RequestAndroidPermissionCallback.3type

Callback that presents a response from a SDL_RequestAndroidPermission call.

Synopsis

#include <SDL3/SDL_system.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

SDL_RequestAndroidPermission(3)

Info

SDL 3.3.2 Simple Directmedia Layer SDL3 DATATYPES