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

Developer

API Reference

IPERSISTENTSTORAGE_DELETE()

Brew Release
Brew MP 1.0.2
See Also
Error Codes
Description
Delete a key/value pair.
Params
storage
[]:
Pointer to the IPersistentStorage interface object.
key
[]:
The key component of the key/value pair to be deleted.
writeNow
[]:
TRUE indicates that the delete should immediately be persisted to flash or disk. FALSE indicates that the result can be cached and may be written to disk later. Use FALSE if performance is more important than information safety, TRUE otherwise.
Interface
  • IPERSISTENTSTORAGE
Prototype
  •    int IPERSISTENTSTORAGE_Delete(IPersistentStorage* storage,
                                     const AECHAR* key, int writeNow);
    
Return
  • AEE_SUCCESS : The pair was successfully deleted. AEE_EFAILED : The pair was not deleted.
Side Effect
  • None
Comments
None