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

Developer

API Reference

ICALLHISTORY_NOTIFY()

Brew Release
Brew MP 1.0.2
See Also
Error Codes ICallHistory
Description
This function sets a notification function that calls back the user if the Call History Changes. The callback will continue to execute until canceled by the user. Not all OEMs will support this function.
Params
pich
[in]:
Pointer to an ICallHistory interface object.
pcb
[]:
[in/out]: Pointer to an ICallHistory interface object.
Interface
  • ICALLHISTORY
Prototype
  •    int ICALLHISTORY_Notify(ICallHistory *pich, AEECallback *pcb);
       
Return
  • AEE_SUCCESS, if successful. AEE_ENOMEMORY, if the implementation cannot allocate memory internally for the operation. AEE_EUNSUPPORTED, if the OEM does not support call notifications. AEE_EFAILED, if otherwise unsuccessful.
Side Effect
  • None
Comments
Unlike other usages of the AEECallback structure, the notification callback remains valid unless canceled. (i.e. the callbacks are not "one-shot"). Applications no longer wishing for callback notifications should call CALLBACK_Cancel() on their registered callback structure.