The contacts common API provides the set of definitions and interfaces to initialize and deinitialize.
Required Header
#include <contacts.h>
Define Documentation
Enumeration Type Documentation
Enumeration for contacts errors.
- Since :
- 2.3
- Enumerator:
CONTACTS_ERROR_NONE |
Successful
|
CONTACTS_ERROR_OUT_OF_MEMORY |
Out of memory
|
CONTACTS_ERROR_INVALID_PARAMETER |
Invalid parameter
|
CONTACTS_ERROR_FILE_NO_SPACE |
FS Full
|
CONTACTS_ERROR_PERMISSION_DENIED |
Permission denied
|
CONTACTS_ERROR_NOT_SUPPORTED |
Not supported
|
CONTACTS_ERROR_NO_DATA |
Requested data does not exist
|
CONTACTS_ERROR_DB_LOCKED |
Database table locked or file locked
|
CONTACTS_ERROR_DB |
Unknown DB error
|
CONTACTS_ERROR_IPC_NOT_AVALIABLE |
IPC server is not available
|
CONTACTS_ERROR_IPC |
Unknown IPC error
|
CONTACTS_ERROR_SYSTEM |
Internal system module error
|
CONTACTS_ERROR_INTERNAL |
Implementation Error, Temporary Use
|
Function Documentation
Connects to the contacts service.
- Since :
- 2.3
- Returns:
0
on success, otherwise a negative error value
- Return values:
-
- See also:
- contacts_disconnect()
Connects to the contacts service with a connection on another thread.
- Since :
- 2.3
- Returns:
0
on success, otherwise a negative error value
- Return values:
-
- See also:
- contacts_disconnect_on_thread()
Connects to the contacts service.
- Since :
- 2.3
- Parameters:
-
- Returns:
0
on success, otherwise a negative error value
- Return values:
-
- See also:
- contacts_disconnect()
Disconnects from the contacts service.
- Since :
- 2.3
- Returns:
0
on success, otherwise a negative error value
- Return values:
-
- See also:
- contacts_connect()
Disconnects from the contacts service.
- Since :
- 2.3
- Returns:
0
on success, otherwise a negative error value
- Return values:
-
- See also:
- contacts_connect_on_thread()