nn::camera::CTR::SetSize Functionnn::Result SetSize( CameraSelect select, Size size, Context context = CONTEXT_BOTH );
| Name | Description | |
|---|---|---|
| in | select | Specifies which camera to change settings for. |
| in | size | Specifies the resolution. |
| in | context | Specifies which context to change settings for. If omitted, the settings will be applied both to context A and context B. |
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 resolution.
The default values for each camera are shown below.
| Inner Camera | Right Outer Camera | Left Outer Camera | |
|---|---|---|---|
| Context A | SIZE_DS_LCD | SIZE_DS_LCD | SIZE_DS_LCD |
| Context B | SIZE_VGA | SIZE_VGA | SIZE_VGA |
Note: This function may block for an extended period if a camera is restarting.
CONFIDENTIAL