![]() |
vitasdk
Documentation of the vitasdk
|
Exports for Kernel. More...
Enumerations | |
| enum | SceCameraActiveStatusFlag { SCE_CAMERA_ACTIVE_STATUS_FRONT = 0x1 , SCE_CAMERA_ACTIVE_STATUS_BACK = 0x2 } |
| Camera-active bits returned by ksceCameraIsActive. More... | |
Functions | |
| int | ksceCameraIsActive (ScePID pid, SceUInt32 *status) |
| Check which active cameras a process owns. | |
Exports for Kernel.
Include the header file in your project:
Link the library to the executable:
Camera-active bits returned by ksceCameraIsActive.
| Enumerator | |
|---|---|
| SCE_CAMERA_ACTIVE_STATUS_FRONT | The process owns an active front-camera stream. |
| SCE_CAMERA_ACTIVE_STATUS_BACK | The process owns an active back-camera stream. |
Check which active cameras a process owns.
A status bit is set only when the target process has opened and started the corresponding camera and remains its current global owner. An invalid or nonexistent process ID, or an uninitialized Camera driver, is reported as inactive, not as an error.
| [in] | pid | - Target process ID. |
| [out] | status | - Receives a bitwise OR of SceCameraActiveStatusFlag values. Must not be NULL. |