Tizen Native API
Phone log

Functions

int contacts_phone_log_reset_statistics (void)
 Resets the phone log's count.

The contacts phone log API provides the set of definitions and interfaces that enable application developers to reset phone log count.

Required Header

#include <contacts.h>

Related Features

This API is related with the following features:

It is recommended to design feature related codes in your application for reliability.

You can check if a device supports the related features for this API by using System Information, thereby controlling the procedure of your application.

To ensure your application is only running on the device with specific features, please define the features in your manifest file using the manifest editor in the SDK.

More details on featuring your application can be found from Feature Element.



Function Documentation

Resets the phone log's count.

The number of all types in the phone log will be 0.

Since :
2.3
Privilege Level:
public
Privilege:
http://tizen.org/privilege/callhistory.write
Returns:
0 on success, otherwise a negative error value
Return values:
CONTACTS_ERROR_NONESuccessful
CONTACTS_ERROR_OUT_OF_MEMORYOut of memory
CONTACTS_ERROR_FILE_NO_SPACEFS Full
CONTACTS_ERROR_DBDatabase operation failure
CONTACTS_ERROR_IPCIPC error
CONTACTS_ERROR_PERMISSION_DENIEDPermission denied. This application does not have the privilege to call this method.
CONTACTS_ERROR_NOT_SUPPORTEDNot supported
Precondition:
contacts_connect() should be called to open a connection to the contacts service.
See also:
contacts_connect()