Bläddra i källkod

SDL_RequestAndroidPermission() comment: Add link to android permissions website

Petar Popovic 6 månader sedan
förälder
incheckning
679dd4b181
1 ändrade filer med 4 tillägg och 0 borttagningar
  1. 4 0
      include/SDL3/SDL_system.h

+ 4 - 0
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.