CAMERAResult

Definition

#include <twl/camera.h>


typedef enum CAMERAResult
{
    CAMERA_RESULT_SUCCESS = 0,
    CAMERA_RESULT_SUCCESS_TRUE = 0,
    CAMERA_RESULT_SUCCESS_FALSE,
    CAMERA_RESULT_BUSY,
    CAMERA_RESULT_ILLEGAL_PARAMETER,
    CAMERA_RESULT_SEND_ERROR,
    CAMERA_RESULT_INVALID_COMMAND,
    CAMERA_RESULT_ILLEGAL_STATUS,
    CAMERA_RESULT_FATAL_ERROR,
    CAMERA_RESULT_MAX
}
CAMERAResult;

Elements

CAMERA_RESULT_SUCCESS Processing succeeded. This indicates a void value.
CAMERA_RESULT_SUCCESS_TRUE Processing succeeded. This indicates a TRUE value.
CAMERA_RESULT_SUCCESS_FALSE Processing succeeded. This indicates a FALSE value.
CAMERA_RESULT_BUSY Another request is being processed.
CAMERA_RESULT_ILLEGAL_PARAMETER Illegal parameter.
CAMERA_RESULT_SEND_ERROR Failed to send a camera command.
CAMERA_RESULT_INVALID_COMMAND Invalid command.
CAMERA_RESULT_ILLEGAL_STATUS Indicates that the camera is being restarted.
CAMERA_RESULT_FATAL_ERROR Some other error caused processing to fail.

Description

This enumerated type indicates the result of a camera operation.

Revision History

2007/11/09 Initial version.


CONFIDENTIAL