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.
Parameters
  • 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
Comment
This function is always synchronous. This function should be called when the camera is in CAM_MODE_READY.
  • Follow