Developer

API Reference

ICAMERA_Resume()

Brew Release
Brew MP 1.0.2
See Also
ICAMERA_Start() ICAMERA_Pause() ICAMERA_Preview() ICAMERA_RecordMovie() ICAMERA_RecordSnapshot()
Description
This function resumes the camera operation. In preview and record modes, the frame callbacks are resumed. In record mode, the encoding is also resumed.
Parameters
  • pICamera
    []:
    Pointer to ICamera Interface.
Interface
ICAMERA
Prototype
    int ICAMERA_Resume(ICamera * pICamera);
Return
SUCCESS: Asynchronous command accepted. Check callback for result and completion. EFAILED: General failure ENOMEMORY: Not enough memory EBADSTATE: Cannot execute operation because the camera is in the wrong mode.
Side Effect
None.
Comment
This function is always asynchronous. This API does not apply to Snapshot mode. This function results in CAM_STATUS_RESUME status callback. In the callback, AEECameraNotify,
     nCmd = CAM_CMD_START
     nSubCmd = CAM_MODE_PREVIEW/CAM_MODE_MOVIE.
  • Follow