nn::camera::CTR::SwitchContext Functionnn::Result SwitchContext( CameraSelect select, Context next );
| Name | Description | |
|---|---|---|
| in | select | Specifies the camera whose context you want to switch. |
| in | next | Specifies the context to switch to. |
Result values listed below. | Value | Description |
|---|---|
ResultSuccess |
Process was successful. |
ResultIsSleeping |
Unusable because the system is closed. |
ResultFatalError |
There may be something physically wrong with the camera. |
Switches the camera settings context.
It is faster to switch the context than to configure settings individually.
Because this function replaces the specified camera's settings with the settings of the specified context (A or B), you cannot set the select argument to SELECT_NONE or the next argument to CONTEXT_BOTH.
The default value is CONTEXT_A for all cameras.
Note: This function may block for an extended period if a camera is restarting.
CONFIDENTIAL