Rate This Document
Findability
Accuracy
Completeness
Readability

Error Code (VmiErrCode)

Enumeration of VmiErrCode:

enum VmiErrCode : int32_t {
    OK = 0,
    ERR_VERSION_MISMATCH = 0x1,                      // Incompatible version
    ERR_ILLEGAL_INPUT,                               // Invalid input parameter
    ERR_INVALID_CMD,                                 // Unsupported command
    ERR_INVALID_STATUS,                              // Unsupported operation in the current status
    ERR_INVALID_MODULE,                              // Unsupported module
    ERR_NOT_ENOUGH_RESOURCE,                         // Insufficient resource for completing the operation
    ERR_INTERNAL,                                    // Internal error
    ERR_REPEAT_INITIALIZATION,                       // Repeated initialization
    ERR_MODULE_NOT_INIT,                             // Uninitialized module
    ERR_MODULE_NOT_START,                            // Module not started
    ERR_MODULE_REPEAT_START,                         // Module started repeatedly
    ERR_MODULE_REPEAT_STOP,                          // Module stopped repeatedly
    ERR_COMMON_MAX = 0x100,
    ERR_VIDEO_UNSUPPORT_OPERATION = 0x101,
    ERR_VIDEO_PARAMS_SETTING = 0x102,
    ERR_VIDEO_MAX = 0x200,
    ERR_AUDIO_MAX = 0x300,
    ERR_MIC_MAX = 0x400,
    ERR_TOUCH_MAX = 0x500,
    ERR_SENSOR_MAX = 0x600
};