SetExposure

nn::camera::CTR::SetExposure Function

Syntax

nn::Result SetExposure(
     CameraSelect select,
     s8 exposure
);

Parameters

Name Description
in select Specifies which camera to change settings for.
in exposure Specifies the exposure amount. Specifiable values lie in the range [-5, +5].

Return Values

Returns the function's execution result. Returns one of the 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.

Description

Sets the exposure.

Note: If you have previously disabled auto-exposure with the nn::camera::CTR::SetAutoExposure function, calling this function will set the exposure and re-enable auto-exposure.

The default value is 0 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