Sync SDL3 wiki -> header

main
SDL Wiki Bot 2024-02-13 17:07:23 +00:00
parent bc984f78bf
commit 4d4c24acdd
1 changed files with 9 additions and 9 deletions

View File

@ -406,20 +406,20 @@ typedef void (SDLCALL *SDL_AndroidRequestPermissionCallback)(void *userdata, con
* Request permissions at runtime, asynchronously. * Request permissions at runtime, asynchronously.
* *
* You do not need to call this for built-in functionality of SDL; recording * You do not need to call this for built-in functionality of SDL; recording
* from a microphone or reading images from a camera, using standard SDL * from a microphone or reading images from a camera, using standard SDL APIs,
* APIs, will manage permission requests for you. * will manage permission requests for you.
* *
* This function never blocks. Instead, the app-supplied callback will be * This function never blocks. Instead, the app-supplied callback will be
* called when a decision has been made. This callback may happen on a * called when a decision has been made. This callback may happen on a
* different thread, and possibly much later, as it might wait on a user to * different thread, and possibly much later, as it might wait on a user to
* respond to a system dialog. If permission has already been granted for * respond to a system dialog. If permission has already been granted for a
* a specific entitlement, the callback will still fire, probably on the * specific entitlement, the callback will still fire, probably on the current
* current thread and before this function returns. * thread and before this function returns.
* *
* If the request submission fails, this function returns -1 and the * If the request submission fails, this function returns -1 and the callback
* callback will NOT be called, but this should only happen in * will NOT be called, but this should only happen in catastrophic conditions,
* catastrophic conditions, like memory running out. Normally there will * like memory running out. Normally there will be a yes or no to the request
* be a yes or no to the request through the callback. * through the callback.
* *
* \param permission The permission to request. * \param permission The permission to request.
* \param cb The callback to trigger when the request has a response. * \param cb The callback to trigger when the request has a response.