Request permissions at runtime.
Defined in SDL_system.h
const char *permission); SDL_bool SDL_AndroidRequestPermission(
const char * | permission | The permission to request. |
(SDL_bool) Returns SDL_TRUE if the permission was granted, SDL_FALSE otherwise.
This blocks the calling thread until the permission is granted or denied.
This function is available since SDL 2.0.14.