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

Developer

API Reference

ICAMERA_REGISTERNOTIFY()

Brew Release
Brew MP 1.0.2
See Also
None
Description
This function registers a callback notification function with ICamera object. ICamera reports asynchronous events using this callback.
Params
pICamera
[]:
Pointer to the ICamera Interface object
pfnNotify
[]:
User callback function pointer
pUser
[]:
User data to be used when calling pfnNotify()
Interface
  • ICAMERA
Prototype
  •     int ICAMERA_RegisterNotify
        (
           ICamera * pICamera,
           PFNCAMERANOTIFY pfnNotify,
           void * pUser
        )
    
Return
  • SUCCESS: Successful. Synchronous operation completed. EBADSTATE: Cannot execute operation because the camera is in the wrong mode.
Side Effect
  • None
Comments
This function is always synchronous. This function should be called when the camera is in CAM_MODE_READY.