Developer

API Reference

ICAMERA_Stop()

Brew Release
Brew MP 1.0.2
See Also
ICAMERA_Start() ICAMERA_Preview() ICAMERA_RecordMovie() ICAMERA_RecordSnapshot()
Description
This function stops the current camera operation and puts it in CAM_MODE_READY.
Parameters
  • pICamera
    []:
    Pointer to ICamera Interface.
Interface
ICAMERA
Prototype
    int ICAMERA_Stop(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 function results in CAM_STATUS_DONE status callback. In the callback, AEECameraNotify,
     nCmd = CAM_CMD_START
     nSubCmd = CAM_MODE_PREVIEW/CAM_MODE_MOVIE.
  • Follow