mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-21 14:24:44 +08:00
Sync SDL3 wiki -> header
[ci skip]
This commit is contained in:
@@ -141,18 +141,21 @@ extern "C" {
|
||||
#define SDL_HINT_ANDROID_TRAP_BACK_BUTTON "SDL_ANDROID_TRAP_BACK_BUTTON"
|
||||
|
||||
/**
|
||||
* A variable to control whether we allow persistent folder access on Android when using the SDL select folder dialog.
|
||||
* A variable to control whether we allow persistent folder access on Android
|
||||
* when using the SDL select folder dialog.
|
||||
*
|
||||
* If set to `1`, the selected folder will be accessible persistently across app launches.
|
||||
* That allows the user to only have to select the directory once, and then the app can access it again in the future
|
||||
* without needing to ask the user to select it again.
|
||||
* If set to `1`, the selected folder will be accessible persistently across
|
||||
* app launches. That allows the user to only have to select the directory
|
||||
* once, and then the app can access it again in the future without needing to
|
||||
* ask the user to select it again.
|
||||
*
|
||||
* The variable can be set to the following values:
|
||||
*
|
||||
* - "0": Persistent folder access is not allowed. (default)
|
||||
* - "1": Persistent folder access is allowed.
|
||||
*
|
||||
* This hint should be set before the SDL folder selection dialog is shown, and can be changed between dialog invocations.
|
||||
* This hint should be set before the SDL folder selection dialog is shown,
|
||||
* and can be changed between dialog invocations.
|
||||
*
|
||||
* \since This hint is available since SDL 3.6.0.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user