API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

ICAMERA_PAUSE()

Brew Release
Brew MP 1.0.2
See Also
ICAMERA_Start() ICAMERA_Preview() ICAMERA_RecordMovie() ICAMERA_Resume()
Description
This function pauses the camera operation. In preview and record modes, the frame callbacks are paused. In record mode, the encoding is also paused.
Params
pICamera
[]:
Pointer to ICamera Interface.
Interface
  • ICAMERA
Prototype
  •     int ICAMERA_Pause(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.
Comments
This function is always asynchronous. This API does not apply to Snapshot mode. This function results in CAM_STATUS_PAUSE status callback. In the callback, AEECameraNotify, nCmd = CAM_CMD_START nSubCmd = CAM_MODE_PREVIEW/CAM_MODE_MOVIE.