mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-29 06:28:29 +00:00
Sync SDL3 wiki -> header
[ci skip]
This commit is contained in:
@@ -361,8 +361,8 @@ extern SDL_DECLSPEC SDL_Camera * SDLCALL SDL_OpenCamera(SDL_CameraID instance_id
|
|||||||
*
|
*
|
||||||
* This function can be used to check the status of that approval. It will
|
* This function can be used to check the status of that approval. It will
|
||||||
* return SDL_CAMERA_PERMISSION_STATE_PENDING if waiting for user response,
|
* return SDL_CAMERA_PERMISSION_STATE_PENDING if waiting for user response,
|
||||||
* SDL_CAMERA_PERMISSION_STATE_APPROVED if the camera is approved for use,
|
* SDL_CAMERA_PERMISSION_STATE_APPROVED if the camera is approved for use, and
|
||||||
* and SDL_CAMERA_PERMISSION_STATE_DENIED if the user denied access.
|
* SDL_CAMERA_PERMISSION_STATE_DENIED if the user denied access.
|
||||||
*
|
*
|
||||||
* Instead of polling with this function, you can wait for a
|
* Instead of polling with this function, you can wait for a
|
||||||
* SDL_EVENT_CAMERA_DEVICE_APPROVED (or SDL_EVENT_CAMERA_DEVICE_DENIED) event
|
* SDL_EVENT_CAMERA_DEVICE_APPROVED (or SDL_EVENT_CAMERA_DEVICE_DENIED) event
|
||||||
@@ -373,9 +373,9 @@ extern SDL_DECLSPEC SDL_Camera * SDLCALL SDL_OpenCamera(SDL_CameraID instance_id
|
|||||||
* SDL_CloseCamera() to dispose of it.
|
* SDL_CloseCamera() to dispose of it.
|
||||||
*
|
*
|
||||||
* \param camera the opened camera device to query.
|
* \param camera the opened camera device to query.
|
||||||
* \returns an SDL_CameraPermissionState value indicating if access is granted,
|
* \returns an SDL_CameraPermissionState value indicating if access is
|
||||||
* or `SDL_CAMERA_PERMISSION_STATE_PENDING` if the decision is still
|
* granted, or `SDL_CAMERA_PERMISSION_STATE_PENDING` if the decision
|
||||||
* pending.
|
* is still pending.
|
||||||
*
|
*
|
||||||
* \threadsafety It is safe to call this function from any thread.
|
* \threadsafety It is safe to call this function from any thread.
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user