I want to delete all Call Logs(Dialed, Received and Missed) on a click event.
I tried iLogViewRecent->RemoveL(myStatus);, but it din't worked.
This is how I used it
I also tried iLogClient->DeleteEvent(aLogId, iStatus);, but it is deleting only selected item from the log(Used Log Example available on Wiki).
CLogClient* iClientLog = CLogClient::NewL(CEikonEnv::Static()->FsSession());
CLogViewRecent* iLogViewRecent = CLogViewRecent::NewL(*iClientLog, EPriorityNormal);
Basically, I want to clear all call logs on a click event. I don't want to retrieve and display the logs.
Any help will be highly appreciated.
Tried searching it on Developer Wiki but din't find any thing suitable in my clause.