From 14d4dcaebbd0513c143c1ed61c71101f624c2ecb Mon Sep 17 00:00:00 2001 From: "jk7744.park" Date: Fri, 4 Mar 2016 19:51:15 +0900 Subject: Tizen 2.4.0 rev3 SDK Public Release --- doc/contacts_doc.h | 15 ++++++++++++++- include/contacts_views.h | 6 +++++- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/doc/contacts_doc.h b/doc/contacts_doc.h index ae38a77..4fd6163 100644 --- a/doc/contacts_doc.h +++ b/doc/contacts_doc.h @@ -237,7 +237,20 @@ * contacts_record_add_child_record(contact, _contacts_contact.image, image); * @endcode * - * + * + * + * + * + * + * + * + * + * + *
Note
For an application to insert private images in contacts, it needs to follow below conditions:
+ *    1. Application must have privilege of http://tizen.org/privilege/contact.write to use APIs such as contacts_db_insert_record().
+ *    2. Application's private directory and files must have 'read' permission of others, '644' for example. But still, SMACK protects read permission from the other applications.
+ *    3. Application may erase the image after destroying the contact record (contacts_record_destroy).
+ *
* * @section CAPI_SOCIAL_CONTACTS_SVC_MODULE_RECORDS Records * In contacts-service, one of basic concept is a record. diff --git a/include/contacts_views.h b/include/contacts_views.h index 83b6179..1f0e24e 100644 --- a/include/contacts_views.h +++ b/include/contacts_views.h @@ -268,7 +268,7 @@ _CONTACTS_END_READ_ONLY_VIEW(_contacts_simple_contact) * string_uriread only Identifier of this contact view * integeridread only DB record ID of the contact * stringdisplay_nameread only Display name of the contact - * integerdisplay_source_idread only The source type of display name, refer to the @ref contacts_display_name_source_type_e + * integerdisplay_source_typeread only The source type of display name, refer to the @ref contacts_display_name_source_type_e * integeraddress_book_idread, write once Addressbook ID that the contact belongs to * stringringtone_pathread, write Ringtone path of the contact * stringimage_thumbnail_pathread only Image thumbnail path of the contact @@ -295,6 +295,7 @@ _CONTACTS_END_READ_ONLY_VIEW(_contacts_simple_contact) * recordrelationshipread, write _contacts_relationship child record (multiple) * recordimageread, write _contacts_image child record (multiple) * recordgroup_relationread, write _contacts_group_relation child record (multiple) + * recordextensionread, write _contacts_extension child record (multiple) * */ _CONTACTS_BEGIN_VIEW() @@ -360,6 +361,7 @@ _CONTACTS_END_VIEW(_contacts_contact) * recordprofileread, write _contacts_profile child record (multiple) * recordrelationshipread, write _contacts_relationship child record (multiple) * recordimageread, write _contacts_image child record (multiple) + * recordextensionread, write _contacts_extension child record (multiple) * */ _CONTACTS_BEGIN_VIEW() @@ -671,6 +673,7 @@ _CONTACTS_END_VIEW(_contacts_relationship) * integer type read, write Image type, refer to the @ref contacts_image_type_e * string label read, write Custom image type label, when the image type is #CONTACTS_IMAGE_TYPE_CUSTOM * string path read, write Image thumbnail path + * boolean is_default read, write The image is default image or not * */ _CONTACTS_BEGIN_VIEW() @@ -1646,6 +1649,7 @@ _CONTACTS_END_READ_ONLY_VIEW(_contacts_contact_grouprel) * stringdisplay_name Display name of the contact that the activity belongs to * integerdisplay_source_type The source type of display name that the activity belongs to * integeraddress_book_id Addressbook that the activity belongs to + * integeraccount_id Account ID that the activity belongs to * integerperson_id Person ID that the activity belongs to * stringringtone_path Ringtone path of the contact that the activity belongs to (projection) * stringimage_thumbnail_path Image thumbnail path of the contact that the activity belongs to (projection) -- cgit v1.2.3