nn::camera::CTR::SetAutoExposure Function

Syntax

nn::Result SetAutoExposure(
CameraSelect select,
bool on
);

Arguments

Name Description
in select Specifies which camera to change settings for.
in on Specify true to enable or false to disable.

Return Values

Returns the function's execution result. Returns one of the Result values listed below.
Value Description
ResultSuccess Process was successful.
ResultIsSleeping Unusable because the system's cover is closed.
ResultFatalError There may be something physically wrong with the camera.

Description

Enables/disables auto exposure.

We recommend enabling this feature when starting a camera, because the exposure value is undefined immediately after a camera is started with the Activate function.

The default value is true for all cameras.

Note: This function may block for an extended period if a camera is restarting.

Revision History

2010/07/17
Added explanation about operation during restart.
2010/04/14
Added a description of the default values.
2010/04/09
Added description text.
2010/02/02
Initial version.

CONFIDENTIAL