Tizen Native API
4.0
|
The contacts phone log API provides the set of definitions and interfaces that enable application developers to reset phone log count.
#include <contacts.h>
This API is related with the following features:
Functions | |
int | contacts_phone_log_reset_statistics (void) |
Resets the phone log's count. | |
int | contacts_phone_log_reset_statistics_by_sim (int sim_slot_no) |
Resets the phone log's count by sim slot no. |
int contacts_phone_log_reset_statistics | ( | void | ) |
Resets the phone log's count.
The number of all types in the phone log will be 0
.
0
on success, otherwise a negative error value CONTACTS_ERROR_NONE | Successful |
CONTACTS_ERROR_OUT_OF_MEMORY | Out of memory |
CONTACTS_ERROR_FILE_NO_SPACE | FS Full |
CONTACTS_ERROR_PERMISSION_DENIED | Permission denied. This application does not have the privilege to call this method |
CONTACTS_ERROR_NOT_SUPPORTED | Not supported |
CONTACTS_ERROR_DB | Database operation failure |
CONTACTS_ERROR_IPC | IPC error |
CONTACTS_ERROR_SYSTEM | Internal system module error |
int contacts_phone_log_reset_statistics_by_sim | ( | int | sim_slot_no | ) |
Resets the phone log's count by sim slot no.
[in] | sim_slot_no | It is related to the SIM slot number. sim_slot_no 0 means first SIM, sim_slot_no 1 means second SIM |
0
on success, otherwise a negative error value CONTACTS_ERROR_NONE | Successful |
CONTACTS_ERROR_OUT_OF_MEMORY | Out of memory |
CONTACTS_ERROR_FILE_NO_SPACE | FS Full |
CONTACTS_ERROR_PERMISSION_DENIED | Permission denied. This application does not have the privilege to call this method |
CONTACTS_ERROR_NOT_SUPPORTED | Not supported |
CONTACTS_ERROR_DB | Database operation failure |
CONTACTS_ERROR_IPC | IPC error |
CONTACTS_ERROR_SYSTEM | Internal system module error |