SDL Wiki
(This is the documentation for SDL3, which is the current stable version. SDL2 was the previous version!)

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.1.3.

See Also


CategoryAPI, CategoryAPIDatatype, CategorySystem


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.