Request permissions at runtime.
const char *permission); SDL_bool SDL_AndroidRequestPermission(
permission | The permission to request. |
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 3.0.0.