nn::camera::CTR::SetPhotoMode Functionnn::Result SetPhotoMode( CameraSelect select, PhotoMode mode );
| Name | Description | |
|---|---|---|
| in | select | Specifies which camera to change settings for. |
| in | mode | Specifies the photo mode. |
Result values listed below. | Value | Description |
|---|---|
Result::IsSuccess |
Process was successful. |
ResultIsSleeping |
This function is unusable because the system cover is closed. |
ResultFatalError |
There may be something physically wrong with the camera. |
Sets the photo mode.
The default values for each camera are shown below.
| Inner Camera | Right Outer Camera | Left Outer Camera |
|---|---|---|
PHOTO_MODE_PORTRAIT | PHOTO_MODE_NORMAL | PHOTO_MODE_NORMAL |
If synchronization with the stereo camera's brightness was enabled via the nn::camera::CTR::SetBrightnessSynchronization function, it will not be possible to set PHOTO_MODE_LANDSCAPE to the left external camera (SELECT_OUT2). Function execution will fail.
Note: This function may block for an extended period if a camera is restarting.
CONFIDENTIAL