From 679dd4b18127cdde882c0c7967ca18cb25df0366 Mon Sep 17 00:00:00 2001 From: Petar Popovic Date: Sun, 20 Oct 2024 15:40:31 +0200 Subject: [PATCH] SDL_RequestAndroidPermission() comment: Add link to android permissions website --- include/SDL3/SDL_system.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/SDL3/SDL_system.h b/include/SDL3/SDL_system.h index 6d3e61a403..06316f1f25 100644 --- a/include/SDL3/SDL_system.h +++ b/include/SDL3/SDL_system.h @@ -484,6 +484,10 @@ typedef void (SDLCALL *SDL_RequestAndroidPermissionCallback)(void *userdata, con * like memory running out. Normally there will be a yes or no to the request * through the callback. * + * For the `permission` parameter, choose a value from here: + * + * https://developer.android.com/reference/android/Manifest.permission + * * \param permission the permission to request. * \param cb the callback to trigger when the request has a response. * \param userdata an app-controlled pointer that is passed to the callback.