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

Developer

API Reference

ICALLHISTORY_ADDENTRY()

Brew Release
Brew MP 1.0.2
See Also
Error Codes ICallHistory
Description
This function adds a new entry to the Call History list. If the maximum number of entries is reached, the function will typically delete the oldest entry in the list before adding the new entry.
In an effort to be consistent with their native user interfaces, some OEMs may delete identical or similiar entries before adding a new entry. For instance, if a Brew MP developer adds an outgoing call with the same phone number as an existing entry, that existing entry may be deleted if the native user interface does not display duplicates.
Params
pich
[in]:
Pointer to an ICallHistory interface object.
pche
[in]:
New entry.
Interface
  • ICALLHISTORY
Prototype
  •    int ICALLHISTORY_AddEntry(ICallHistory *pich,
                                 const AEECallHistoryEntry *pche)
    
Return
  • AEE_SUCCESS : if successful.
    AEE_EBADPARM : if the user specifies invalid data for a predefined field type.
    AEE_ENOMEMORY : if the implementation cannot allocate memory internally for the operation.
    AEE_EFAILED : for other errors.
Side Effect
  • None
Comments
The memory specified in pche is copied by the ICALLHISTORY implementation, and need not be maintained by the caller after the call to AddEntry()