e759999adb0ef489f93cdf8d7b690b21eecb19be
[framework/osp/social.git] / inc / FSclTypes.h
1 //
2 // Open Service Platform
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
4 //
5 //
6 // Licensed under the Apache License, Version 2.0 (the License);
7 // you may not use this file except in compliance with the License.
8 // You may obtain a copy of the License at
9 //
10 //     http://www.apache.org/licenses/LICENSE-2.0
11 //
12 // Unless required by applicable law or agreed to in writing, software
13 // distributed under the License is distributed on an "AS IS" BASIS,
14 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 // See the License for the specific language governing permissions and
16 // limitations under the License.
17 //
18
19 /**
20  * @file        FSclTypes.h
21  * @brief       This is the header file for the types in the Social namespace.
22  *
23  * This header file contains the declarations of the types in the Social namespace.
24  */
25 #ifndef _FSCL_TYPES_H_
26 #define _FSCL_TYPES_H_
27
28 namespace Tizen { namespace Base
29 {
30 class DateTime;
31 }}
32
33 namespace Tizen { namespace Social
34 {
35
36 /**
37  * A unique ID. This ID is unique within a local storage only. @n
38  * @c RecordId is assigned by the local storage (for example, Addressbook and Calendarbook) when a record is saved to the storage. @n
39  * A newly constructed record instance has @c INVALID_RECORD_ID.
40  *
41  * @since       2.0
42  */
43 typedef int RecordId;
44
45 /**
46  * An invalid record ID. @n
47  * The record has not been properly recorded to Addressbook.
48  *
49  * @since       2.0
50  */
51 const RecordId INVALID_RECORD_ID = -1;
52
53 /**
54  * A unique ID for an account. @n
55  * If an account is added successfully, an @c AccountId is automatically assigned to the account.
56  *
57  * @since       2.1
58  */
59 typedef int AccountId;
60
61 /**
62  * An invalid account ID.
63  *
64  * @since       2.1
65  */
66 const AccountId INVALID_ACCOUNT_ID = -1;
67
68 /**
69  * @typedef     RecurrenceId
70  * Defines the recurrence ID that is used to identify a specific instance of a recurring calendar component (CalEvent). @n
71  * The value type is @c Tizen::Base::DateTime. The property value is the effective value of the start time ("DTSTART" property) of the Recurrence instance.
72  *
73  * @since       2.0
74  */
75 typedef Tizen::Base::DateTime RecurrenceId;
76
77 /**
78  * @if OSPDEPREC
79  * The maximum length of the name property.
80  *
81  * @brief <i> [Deprecated] </i>
82  * @deprecated  This constant is deprecated.
83  * @since       2.0
84  * @endif
85  */
86 static const int MAX_ATTENDEE_NAME_LENGTH = 100;
87
88 /**
89  * @if OSPDEPREC
90  * The maximum length of the email property.
91  *
92  * @brief <i> [Deprecated] </i>
93  * @deprecated  This constant is deprecated.
94  * @since       2.0
95  * @endif
96  */
97 static const int MAX_ATTENDEE_EMAIL_LENGTH = 320;
98
99 /**
100  * @if OSPDEPREC
101  * The maximum length of the subject field.
102  *
103  * @brief <i> [Deprecated] </i>
104  * @deprecated  This constant is deprecated.
105  * @since       2.0
106  * @endif
107  */
108 static const int MAX_EVENT_SUBJECT_LENGTH = 100;
109
110 /**
111  * @if OSPDEPREC
112  * The maximum length of the description field.
113  *
114  * @brief <i> [Deprecated] </i>
115  * @deprecated  This constant is deprecated.
116  * @since       2.0
117  * @endif
118  */
119 static const int MAX_EVENT_DESCRIPTION_LENGTH = 1000;
120
121 /**
122  * @if OSPDEPREC
123  * The maximum length of the location field.
124  *
125  * @brief <i> [Deprecated] </i>
126  * @deprecated  This constant is deprecated.
127  * @since       2.0
128  * @endif
129  */
130 static const int MAX_EVENT_LOCATION_LENGTH = 100;
131
132 /**
133  * @if OSPDEPREC
134  * The maximum length of the subject field.
135  *
136  * @brief <i> [Deprecated] </i>
137  * @deprecated  This constant is deprecated.
138  * @since       2.0
139  * @endif
140  */
141 static const int MAX_TODO_SUBJECT_LENGTH = 100;
142
143 /**
144  * @if OSPDEPREC
145  * The maximum length of the description field.
146  *
147  * @brief <i> [Deprecated] </i>
148  * @deprecated  This constant is deprecated.
149  * @since       2.0
150  * @endif
151  */
152 static const int MAX_TODO_DESCRIPTION_LENGTH = 1000;
153
154 /**
155  * @if OSPDEPREC
156  * The maximum recurrence interval value.
157  *
158  * @brief <i> [Deprecated] </i>
159  * @deprecated  This constant is deprecated.
160  * @since       2.0
161  * @endif
162  */
163 static const int MAX_RECURRENCE_INTERVAL_VALUE = 255;
164
165 /**
166  * @if OSPDEPREC
167  * The maximum value of the reminder offset (in minutes).
168  *
169  * @brief <i> [Deprecated] </i>
170  * @deprecated  This constant is deprecated.
171  * @since       2.0
172  * @endif
173  */
174 static const int MAX_REMINDER_OFFSET_VALUE = 40320;
175
176 /**
177  * @if OSPDEPREC
178  * The maximum length of the name properties (first, last, nickname, and formatted names).
179  *
180  * @brief <i> [Deprecated] </i>
181  * @deprecated  This constant is deprecated because there is no limitation any more.
182  * @since       2.0
183  * @endif
184  */
185 static const int MAX_CONTACT_NAME_LENGTH = 50;
186
187 /**
188  * @if OSPDEPREC
189  * The maximum length of the job title property.
190  *
191  * @brief <i> [Deprecated] </i>
192  * @deprecated  This constant is deprecated because there is no limitation any more.
193  * @since       2.0
194  * @endif
195  */
196 static const int MAX_CONTACT_JOB_TITLE_LENGTH = 50;
197
198 /**
199  * @if OSPDEPREC
200  * The maximum length of the company property.
201  *
202  * @brief <i> [Deprecated] </i>
203  * @deprecated  This constant is deprecated because there is no limitation any more.
204  * @since       2.0
205  * @endif
206  */
207 static const int MAX_CONTACT_COMPANY_LENGTH = 50;
208
209 /**
210  * @if OSPDEPREC
211  * The maximum length of the note property.
212  *
213  * @brief <i> [Deprecated] </i>
214  * @deprecated  This constant is deprecated because there is no limitation any more.
215  * @since       2.0
216  * @endif
217  */
218 static const int MAX_CONTACT_NOTE_LENGTH = 100;
219
220 /**
221  * @if OSPDEPREC
222  * The maximum length of the category name.
223  *
224  * @brief <i> [Deprecated] </i>
225  * @deprecated  This constant is deprecated because the maximum length of the category name has been changed.
226  * @since       2.0
227  * @endif
228  */
229 static const int MAX_CATEGORY_NAME_LENGTH = 20;
230
231 /**
232  * @if OSPDEPREC
233  * The minimum length of the query string for searching the contacts by name.
234  *
235  * @brief <i> [Deprecated] </i>
236  * @deprecated This value is deprecated.
237  * @since       2.0
238  *
239  * @see  Addressbook::SearchContactsByNameN()
240  * @endif
241  */
242 static const int MIN_NAME_QUERY_LENGTH = 1;
243
244 /**
245  * @if OSPDEPREC
246  * The minimum length of the query string for searching the contacts by phone number.
247  *
248  * @brief <i> [Deprecated] </i>
249  * @deprecated This value is deprecated.
250  * @since       2.0
251  *
252  * @see  Addressbook::SearchContactsByPhoneNumberN()
253  * @endif
254  */
255 static const int MIN_PHONENUMBER_QUERY_LENGTH = 4;
256
257 /**
258  * @if OSPDEPREC
259  * The minimum length of the query string for searching the contacts by email.
260  *
261  * @brief <i> [Deprecated] </i>
262  * @deprecated This value is deprecated.
263  * @since       2.0
264  *
265  * @see  Addressbook::SearchContactsByEmailN()
266  * @endif
267  */
268 static const int MIN_EMAIL_QUERY_LENGTH = 1;
269
270 /**
271  * @if OSPDEPREC
272  * The maximum length of the email property.
273  *
274  * @brief <i> [Deprecated]  </i>
275  * @deprecated  This constant is deprecated because there is no limitation any more.
276  * @since       2.0
277  * @endif
278  */
279 static const int MAX_EMAIL_LENGTH = 100;
280
281 /**
282  * @enum        ContactPropertyId
283  *
284  * Defines the IDs for accessing the single value type properties of Contact.
285  * @since       2.0
286  */
287 enum ContactPropertyId
288 {
289         CONTACT_PROPERTY_ID_FIRST_NAME = 1,                     /**< The first name property ID (String type) */
290         CONTACT_PROPERTY_ID_LAST_NAME,                          /**< The last name property ID (String type) */
291         CONTACT_PROPERTY_ID_DISPLAY_NAME,                       /**< The formatted name property ID (String type) */
292         CONTACT_PROPERTY_ID_NICK_NAME,                          /**< @if OSPDEPREC The nick name property ID (String type)
293                                                                         @deprecated This enum value is deprecated because there can be multiple nicknames
294                                                                         in a contact. Instead of using this, use ContactMultiPropertyId::CONTACT_MPROPERTY_ID_NICKNAMES. @endif */
295         CONTACT_PROPERTY_ID_THUMBNAIL,                          /**< @if OSPDEPREC The thumbnail property ID (Bitmap type)
296                                                                 @deprecated This enumeration value is deprecated because it is not used any longer. @endif */
297         CONTACT_PROPERTY_ID_BIRTHDAY,                           /**< @if OSPDEPREC The birthday property ID (DateTime type)
298                                                                         @deprecated This enum value is deprecated because there can be multiple birthday events.
299                                                                         Instead of using this, use ContactMultiPropertyId::CONTACT_MPROPERTY_ID_EVENTS. @endif */
300         CONTACT_PROPERTY_ID_JOB_TITLE,                          /**< @if OSPDEPREC The job title property ID (String type)
301                                                                         @deprecated This enum value is deprecated because there can be multiple organizational information.
302                                                                         Instead of using this, use ContactMultiPropertyId::CONTACT_MPROPERTY_ID_ORGANIZATIONS. @endif */
303         CONTACT_PROPERTY_ID_COMPANY,                            /**< @if OSPDEPREC The company property ID (String type)
304                                                                         @deprecated This enum value is deprecated because there can be multiple organizational information.
305                                                                         Instead of using this, use ContactMultiPropertyId::CONTACT_MPROPERTY_ID_ORGANIZATIONS.@endif */
306         CONTACT_PROPERTY_ID_NOTE,                               /**< @if OSPDEPREC The note property ID (String type)
307                                                                         @deprecated This enum value is deprecated because there can be multiple notes
308                                                                         in a contact. Instead of using this, use ContactMultiPropertyId::CONTACT_MPROPERTY_ID_NOTES.@endif */
309         CONTACT_PROPERTY_ID_ANNIVERSARY,                        /**< @if OSPDEPREC The anniversary property ID (DateTime type)
310                                                                         @deprecated This enum value is deprecated because there can be multiple anniversary events.
311                                                                         Instead of using this, use ContactMultiPropertyId::CONTACT_MPROPERTY_ID_EVENTS.@endif */
312         CONTACT_PROPERTY_ID_RINGTONE,                           /**< The ringtone property ID (String type) */
313         CONTACT_PROPERTY_ID_MIDDLE_NAME,                        /**< The middle name property ID (String type) */
314         CONTACT_PROPERTY_ID_LAST_REVISION,                      /**< An ID for the calendar date and time for the last update in Coordinated Universal Time (UTC) @n    Read-only (DateTime type). */
315         CONTACT_PROPERTY_ID_NAME_PREFIX,                        /**< The name honorific prefix property ID (String type) */
316         CONTACT_PROPERTY_ID_NAME_SUFFIX,                        /**< The name honorific suffix property ID (String type) */
317         CONTACT_PROPERTY_ID_PHONETIC_FIRST_NAME,        /**< The phonetic first name property ID (String type) @b Since: @b 2.1 */
318         CONTACT_PROPERTY_ID_PHONETIC_LAST_NAME,         /**< The phonetic last name property ID (String type) @b Since: @b 2.1 */
319         CONTACT_PROPERTY_ID_PHONETIC_MIDDLE_NAME,       /**< The phonetic middle name property ID (String type) @b Since: @b 2.1 */
320         CONTACT_PROPERTY_ID_UID,                        /**< The globally unique ID (String type) @b Since: @b 2.1 */
321 };
322
323 /**
324  * @enum        ContactMultiPropertyId
325  *
326  * Defines the IDs for accessing the multi-value type properties of Contact. @n
327  * The properties have several values and they are called multi-type properties.
328  * @since       2.0
329  */
330 enum ContactMultiPropertyId
331 {
332         CONTACT_MPROPERTY_ID_PHONE_NUMBERS,             /**< The phone number property ID (PhoneNumber class) */
333         CONTACT_MPROPERTY_ID_EMAILS,                    /**< The email property ID (Email class) */
334         CONTACT_MPROPERTY_ID_URLS,                      /**< The URL property ID (Url class) */
335         CONTACT_MPROPERTY_ID_ADDRESSES,                 /**< The address property ID (Address class) */
336         CONTACT_MPROPERTY_ID_IMADDRESSES,               /**< The Instant Message property ID (ImAddress class) */
337         CONTACT_MPROPERTY_ID_EVENTS,                    /**< The contact event property ID (ContactEvent type) */
338         CONTACT_MPROPERTY_ID_ORGANIZATIONS,             /**< The organization property ID (Organization type) */
339         CONTACT_MPROPERTY_ID_NOTES,                     /**< The note property ID (String type) */
340         CONTACT_MPROPERTY_ID_NICKNAMES,                 /**< The nickname property ID (String type) */
341         CONTACT_MPROPERTY_ID_RELATIONSHIPS,             /**< The relationship property ID (Relationship type) */
342 };
343
344 /**
345  * @if OSPDEPREC
346  * The number of #ContactPropertyId factors.
347  *
348  * @brief <i> [Deprecated] </i>
349  * @deprecated  This constant is deprecated because it is not used any more.
350  * @since       2.0
351  * @endif
352  */
353 static const int CONTACT_PROPERTY_ID_NUM = 14;
354
355 /**
356  * @if OSPDEPREC
357  * The number of #ContactMultiPropertyId factors.
358  *
359  * @brief <i> [Deprecated] </i>
360  * @deprecated  This constant is deprecated because it is not used any more.
361  * @since       2.0
362  * @endif
363  */
364 static const int CONTACT_MPROPERTY_ID_NUM = 5;
365
366 /**
367  * @enum        RecordSensitivity
368  * Defines the sensitivity type of the calendar book record. @n
369  * This value represents the access classification property of @c vCalendar and @c iCalendar.
370  *
371  * @since       2.0
372  */
373 enum RecordSensitivity
374 {
375         SENSITIVITY_PUBLIC,                     /**< The public sensitivity */
376         SENSITIVITY_PRIVATE,                    /**< The private sensitivity */
377         SENSITIVITY_CONFIDENTIAL                /**< The confidential sensitivity */
378 };
379
380 /**
381  * @enum        AttendeeRole
382  * Defines the role of the attendee.
383  * @since       2.0
384  */
385 enum AttendeeRole
386 {
387         ATTENDEE_ROLE_ATTENDEE,                  /**< The attendee      */
388         ATTENDEE_ROLE_REQUIRED_ATTENDEE,        /**< The required attendee      */
389         ATTENDEE_ROLE_ORGANIZER                  /**< The organizer     */
390 };
391
392 /**
393  * @enum        AttendeeStatus
394  * Defines the possible status of the attendee.
395  * @since       2.0
396  */
397 enum AttendeeStatus
398 {
399         ATTENDEE_STATUS_NONE,                   /**< The none status */
400         ATTENDEE_STATUS_NOT_RESPONDED,  /**< The not-responded status */
401         ATTENDEE_STATUS_ACCEPTED,               /**< The accepted status */
402         ATTENDEE_STATUS_DECLINED,               /**< The declined status*/
403         ATTENDEE_STATUS_TENTATIVE,              /**< The tentative status*/
404 };
405
406 /**
407  * @if OSPDEPREC
408  * @enum                EventCategory
409  * @brief        <i> [Deprecated] </i> Defines the categories to classify the event.
410  *
411  * @deprecated  This enum type is deprecated because the category of event is not used any more.
412  * @since       2.0
413  * @endif
414  */
415 enum EventCategory
416 {
417         EVENT_CATEGORY_APPOINTMENT = 0x00000001,                /**< @if OSPDEPREC The appointment category @endif */
418         EVENT_CATEGORY_ANNIVERSARY = 0x00000002,                /**< @if OSPDEPREC The anniversary category @endif */
419 };
420
421 /**
422  * @if OSPDEPREC
423  * All the event categories.
424  *
425  * @brief <i> [Deprecated] </i>
426  * @deprecated  This constant is deprecated because the category of event is not used any more.
427  * @since       2.0
428  * @endif
429  */
430 static const unsigned long EVENT_CATEGORY_ALL = EVENT_CATEGORY_APPOINTMENT | EVENT_CATEGORY_ANNIVERSARY;
431
432 /**
433  * @enum                EventPriority
434  * Defines the possible priority levels of the event.
435  *
436  * @since       2.0
437  */
438 enum EventPriority
439 {
440         EVENT_PRIORITY_LOW,              /**< The low priority */
441         EVENT_PRIORITY_NORMAL,          /**< The normal priority */
442         EVENT_PRIORITY_HIGH              /**< The high priority */
443 };
444
445 /**
446  * @enum                EventStatus
447  * Defines the possible statuses of the event.
448  *
449  * @since       2.0
450  */
451 enum EventStatus
452 {
453         EVENT_STATUS_NONE,              /**< The none status    */
454         EVENT_STATUS_CONFIRMED, /**< The confirmed status       */
455         EVENT_STATUS_CANCELLED, /**< The canceled status        */
456         EVENT_STATUS_TENTATIVE  /**< The tentative status       */
457 };
458
459 /**
460  * @enum                BusyStatus
461  * Defines the busy statuses of the event.
462  *
463  * @since       2.0
464  */
465 enum BusyStatus
466 {
467         BUSY_STATUS_FREE,               /**< The free status    */
468         BUSY_STATUS_BUSY,               /**< The busy status    */
469         BUSY_STATUS_UNAVAILABLE,        /**< The unavailable status     */
470         BUSY_STATUS_TENTATIVE   /**< The tentative status       */
471 };
472
473 /**
474  * @enum        TodoStatus
475  * Defines the possible to-do status types.
476  *
477  * @since       2.0
478  */
479 enum TodoStatus
480 {
481         TODO_STATUS_NONE = 0x00000001,                          /**< The none status                    */
482         TODO_STATUS_NEEDS_ACTION = 0x00000002,          /**< The needs action status    */
483         TODO_STATUS_COMPLETED = 0x00000004,                     /**< The completed status               */
484         TODO_STATUS_IN_PROCESS = 0x00000008,            /**< The in process status              */
485         TODO_STATUS_CANCELLED = 0x00000010,                     /**< The canceled status                */
486 };
487
488 /** All the to-do statuses.
489  *
490  * @since       2.0
491  */
492 static const unsigned long TODO_STATUS_ALL = TODO_STATUS_NONE | TODO_STATUS_NEEDS_ACTION | TODO_STATUS_COMPLETED |
493                                                                                          TODO_STATUS_IN_PROCESS | TODO_STATUS_CANCELLED;
494
495 /**
496  * @enum        TodoPriority
497  * Defines the possible to-do priority levels.
498  *
499  * @since       2.0
500  */
501 enum TodoPriority
502 {
503         TODO_PRIORITY_LOW = 0x00000001,                         /**< The low priority           */
504         TODO_PRIORITY_NORMAL = 0x00000002,                      /**< The normal priority        */
505         TODO_PRIORITY_HIGH = 0x00000004,                        /**< The high priority          */
506 };
507
508 /** All the to-do priorities.
509  *
510  * @since       2.0
511  */
512 static const unsigned long TODO_PRIORITY_ALL = TODO_PRIORITY_LOW | TODO_PRIORITY_NORMAL | TODO_PRIORITY_HIGH;
513
514 /**
515  * @if OSPDEPREC
516  * @enum RecordEventType
517  * Defines the record event types.
518  *
519  * @brief <i> [Deprecated] </i>
520  * @deprecated This enum is deprecated because IRecordEventListener interface is deprecated.
521  *
522  * @since       2.0
523  * @endif
524  */
525 enum RecordEventType
526 {
527         RECORD_ADDED,                   /**< @if OSPDEPREC The adding of a new record @endif */
528         RECORD_UPDATED,                 /**< @if OSPDEPREC The updating of a record @endif */
529         RECORD_REMOVED,                 /**< @if OSPDEPREC The removal of a record @endif */
530         ALL_RECORDS_REMOVED,            /**<
531                                          * @if OSPDEPREC
532                                          * The removal of all records @n
533                                          * @deprecated   This enum value is deprecated because it is not used any more.
534                                          * @endif
535                                          */
536         MULTI_RECORDS_ADDED,            /**< @if OSPDEPREC The adding of multiple records @endif */
537         MULTI_RECORDS_UPDATED,          /**< @if OSPDEPREC The adding, updating, and/or removal of multiple records @endif */
538         MULTI_RECORDS_REMOVED           /**< @if OSPDEPREC The removal of multiple records @endif */
539 };
540
541 /**
542  * @enum        RecurFrequency
543  * Defines the recurrence frequency type.
544  *
545  * @since       2.0
546  */
547 enum RecurFrequency
548 {
549         FREQ_DAILY,              /**< The daily recurrence      */
550         FREQ_WEEKLY,            /**< The weekly recurrence      */
551         FREQ_MONTHLY,           /**< The monthly recurrence     */
552         FREQ_YEARLY              /**< The yearly recurrence     */
553 };
554
555 /**
556  * @enum        CalDayOfWeek
557  * Defines the day of week type.
558  *
559  * @since       2.0
560  */
561 enum CalDayOfWeek
562 {
563         CAL_SUNDAY = 0x0001,            /**< The day of the week is Sunday      */
564         CAL_MONDAY = 0x0002,            /**< The day of the week is Monday      */
565         CAL_TUESDAY = 0x0004,           /**< The day of the week is Tuesday     */
566         CAL_WEDNESDAY = 0x0008,  /**< The day of the week is Wednesday */
567         CAL_THURSDAY = 0x0010,          /**< The day of the week is Thursday */
568         CAL_FRIDAY = 0x0020,            /**< The day of the week is Friday      */
569         CAL_SATURDAY = 0x0040           /**< The day of the week is Saturday */
570 };
571
572 /**
573  * @enum        RecordChangeType
574  * Defines the change type of Record.
575  *
576  * @since       2.0
577  */
578 enum RecordChangeType
579 {
580         RECORD_CHANGE_TYPE_ADDED,               /**< A record is added */
581         RECORD_CHANGE_TYPE_REMOVED,             /**< A record is removed */
582         RECORD_CHANGE_TYPE_UPDATED,             /**< A record is updated */
583 };
584
585 /**
586  * @enum                CalendarItemType
587  * Defines item types to specify which kind of item the calendar can contain.
588  *
589  * @since       2.0
590  */
591 enum CalendarItemType
592 {
593         CALENDAR_ITEM_TYPE_EVENT_ONLY = 0x1,                    /**< The item type for event */
594         CALENDAR_ITEM_TYPE_TODO_ONLY = 0x2,                     /**< The item type for to-do item */
595         CALENDAR_ITEM_TYPE_EVENT_AND_TODO = 0x3         /**< The item type for event and to-do item */
596 };
597
598 /**
599  * @enum PhoneNumberType
600  *
601  * Defines the types of phone number.
602  * @since       2.0
603  */
604 enum PhoneNumberType
605 {
606         PHONENUMBER_TYPE_HOME,          /**< The phone number type for home telephone*/
607         PHONENUMBER_TYPE_WORK,          /**< The phone number type for work telephone*/
608         PHONENUMBER_TYPE_MOBILE,        /**< The phone number type for mobile */
609         PHONENUMBER_TYPE_HOME_FAX,      /**< The phone number type for home fax */
610         PHONENUMBER_TYPE_WORK_FAX,      /**< The phone number type for work fax */
611         PHONENUMBER_TYPE_PAGER,         /**< The phone number type for pager */
612         PHONENUMBER_TYPE_OTHER,         /**< The phone number type for other */
613         PHONENUMBER_TYPE_CUSTOM,        /**< The custom type @n The actual type can be set in the label. */
614         PHONENUMBER_TYPE_ASSISTANT      /**< The phone number type for assistant. @b Since: @b 2.1 */
615 };
616
617 /**
618  * @enum        ReminderTimeUnit
619  * Defines the reminder time unit.
620  *
621  * @since       2.0
622  */
623 enum ReminderTimeUnit
624 {
625         REMINDER_TIME_UNIT_MINUTE,              /**< The unit of time offset is minute */
626         REMINDER_TIME_UNIT_HOUR,                        /**< The unit of time offset is hour */
627         REMINDER_TIME_UNIT_DAY,                 /**< The unit of time offset is day */
628         REMINDER_TIME_UNIT_WEEK,                        /**< The unit of time offset is week */
629         REMINDER_TIME_UNIT_NONE,                        /**< The unit of time offset is none @b Since @b 2.1 */
630 };
631
632 /**
633  * @enum EmailType
634  *
635  * Defines the types of email.
636  *
637 * @since        2.0
638  */
639 enum EmailType
640 {
641         EMAIL_TYPE_PERSONAL,    /**< The email type for personal*/
642         EMAIL_TYPE_WORK,        /**< The email type for work */
643         EMAIL_TYPE_OTHER,       /**< The email type for other */
644         EMAIL_TYPE_CUSTOM,      /**< The custom type @n The actual type can be set in the label. */
645         EMAIL_TYPE_MOBILE       /**< The email type for mobile. @b Since: @b 2.1 */
646 };
647
648 /**
649  * Defines the types of address.
650  *
651  * @since       2.0
652  */
653 enum AddressType
654 {
655         ADDRESS_TYPE_HOME,      /**< The address type for home address */
656         ADDRESS_TYPE_WORK,      /**< The address type for work address */
657         ADDRESS_TYPE_OTHER,     /**< The address type for other */
658         ADDRESS_TYPE_CUSTOM     /**< The custom type @n The actual type can be set in the label. */
659 };
660
661 /**
662  * @enum ContactEventType
663  *
664  * Defines the types of event.
665  *
666  * @since       2.0
667  */
668 enum ContactEventType
669 {
670         CONTACT_EVENT_TYPE_BIRTHDAY,    /**< The event type for birthday */
671         CONTACT_EVENT_TYPE_ANNIVERSARY, /**< The event type for anniversary */
672         CONTACT_EVENT_TYPE_OTHER,       /**< The event type for other */
673         CONTACT_EVENT_TYPE_CUSTOM       /**< The custom event @n The actual type can be set in the label. */
674 };
675
676 /**
677  * @enum UrlType
678  *
679  * Defines the types of URL.
680  *
681  * @since       2.0
682  */
683 enum UrlType
684 {
685         URL_TYPE_PERSONAL,      /**< The URL type is personal */
686         URL_TYPE_WORK,          /**< The URL type is work */
687         URL_TYPE_OTHER,         /**< The URL type is other */
688         URL_TYPE_CUSTOM         /**< The custom type @n The actual type can be set in the label. */
689 };
690
691 /**
692  * @enum RelationshipType
693  *
694  * Defines the types of relationship.
695  *
696  * @since       2.0
697  */
698 enum RelationshipType
699 {
700         CONTACT_RELATIONSHIP_TYPE_ASSISTANT,            /**< The relation type for assistant */
701         CONTACT_RELATIONSHIP_TYPE_BROTHER,              /**< The relation type for brother */
702         CONTACT_RELATIONSHIP_TYPE_CHILD,                /**< The relation type for child */
703         CONTACT_RELATIONSHIP_TYPE_DOMESTIC_PARTNER,     /**< The relation type for domestic partner */
704         CONTACT_RELATIONSHIP_TYPE_FATHER,               /**< The relation type for father */
705         CONTACT_RELATIONSHIP_TYPE_FRIEND,               /**< The relation type for friend */
706         CONTACT_RELATIONSHIP_TYPE_MANAGER,              /**< The relation type for manager */
707         CONTACT_RELATIONSHIP_TYPE_MOTHER,               /**< The relation type for mother */
708         CONTACT_RELATIONSHIP_TYPE_PARENT,               /**< The relation type for parent */
709         CONTACT_RELATIONSHIP_TYPE_PARTNER,              /**< The relation type for partner */
710         CONTACT_RELATIONSHIP_TYPE_REFERRED_BY,          /**< The relation type for referred-by */
711         CONTACT_RELATIONSHIP_TYPE_RELATIVE,             /**< The relation type for relative */
712         CONTACT_RELATIONSHIP_TYPE_SISTER,               /**< The relation type for sister */
713         CONTACT_RELATIONSHIP_TYPE_SPOUSE,               /**< The relation type for spouse */
714         CONTACT_RELATIONSHIP_TYPE_CUSTOM                /**< The custom event @n The actual type can be set in the label. */
715 };
716
717 /**
718  * @enum OrganizationType
719  *
720  * Defines the types of organization.
721  *
722  * @since 2.1
723  */
724
725 enum OrganizationType
726 {
727         ORGANIZATION_TYPE_WORK,         /**< The organization type for work */
728         ORGANIZATION_TYPE_OTHER,        /**< The organization type for other */
729         ORGANIZATION_TYPE_CUSTOM        /**< The custom type @n The actual type can be set in the label */
730 };
731
732 /**
733  * @if OSPDEPREC
734  * The maximum length of the phone number property.
735  *
736  * @brief <i> [Deprecated] </i>
737  * @deprecated  This constant is deprecated because there is no limitation any more.
738  * @since       2.0
739  * @endif
740  */
741 static const int MAX_PHONE_NUMBER_LENGTH = 50;
742
743 //This value is for internal use only. Using this value can cause behavioral,
744 //security-related, and consistency-related issues in the application.
745 typedef int AccountId;
746
747 /**
748  * The person ID.
749  *
750  * @since       2.0
751  */
752 typedef int PersonId;
753
754
755 /**
756  * The addressbook ID.
757  *
758  * @since       2.0
759  */
760 typedef int AddressbookId;
761
762 /**
763 * An invalid address book ID indicates that the address book has not been properly stored to the address book database.
764 *
765 * @since        2.0
766 */
767 static const AddressbookId INVALID_ADDRESSBOOK_ID = -2;
768
769 /**
770 * The default addressbook ID.
771 *
772 * @since        2.0
773 */
774 static const AddressbookId DEFAULT_ADDRESSBOOK_ID = 0;
775
776 /**
777  * @enum FilterConjunctiveOperator
778  * Defines the conjunctive operators to compound the filtering expressions.
779  *
780  * @since       2.0
781  */
782 enum FilterConjunctiveOperator
783 {
784         FI_CONJ_OP_NONE,        /**< None */
785         FI_CONJ_OP_AND,         /**< AND operator */
786         FI_CONJ_OP_OR,          /**< OR operator */
787 };
788
789 /**
790  * @enum FilterComparisonOperator
791  * Defines the comparison operators.
792  *
793  * @since       2.0
794  */
795 enum FilterComparisonOperator
796 {
797         FI_CMP_OP_EQUAL,                        /**< = operator */
798         FI_CMP_OP_LESS_THAN,                    /**< < operator */
799         FI_CMP_OP_LESS_THAN_OR_EQUAL,           /**< <= operator */
800         FI_CMP_OP_GREATER_THAN,                 /**< > operator*/
801         FI_CMP_OP_GREATER_THAN_OR_EQUAL,        /**< >= operator */
802         FI_CMP_OP_IS_NULL,                      /**< IS NULL operator */
803 };
804
805 /**
806  * @enum FilterStringOperator
807  * Defines the matching criteria for Strings.
808  *
809  * @since       2.0
810  */
811 enum FilterStringOperator
812 {
813         FI_STR_OP_EQUAL,                /**< The operator for matching the string exactly */
814         FI_STR_OP_FULL_STRING,          /**< The operator for matching the full-string without case sensitive */
815         FI_STR_OP_START_WITH,           /**< The operator for matching the string starting with the specified keyword */
816         FI_STR_OP_END_WITH,             /**< The operator for matching the string ending with the specified keyword */
817         FI_STR_OP_CONTAIN,              /**< The operator for matching the string containing the specified keyword */
818         FI_STR_OP_IS_NOT_NULL,          /**< The operator for matching any string(except NULL) @n The specified is ignored. */
819 };
820
821 /**
822  * @enum AddressbookFilterType
823  * Defines the type of the filter for Addressbook.
824  *
825  * @since       2.0
826  */
827 enum AddressbookFilterType
828 {
829         AB_FI_TYPE_ADDRESSBOOK,         /**< The filter for the addressbooks @n AddressbookFilterProperty is only used in this type filter.
830                                                 The search result with this filter is a list of Addressbook. */
831         AB_FI_TYPE_PERSON,              /**< The filter for the persons @n PersonFilterProperty is only used in this type filter.
832                                                 The search result with this filter is a list of Person. */
833         AB_FI_TYPE_CONTACT,             /**< The filter for the contacts @n ContactFilterProperty is only used in this type filter.
834                                                 The search result with this filter is a list of Contact. */
835         AB_FI_TYPE_CATEGORY,            /**< The filter for the categories @n CategoryFilterProperty is only used in this type filter.
836                                                 The search result with this filter is a list of Category. */
837         AB_FI_TYPE_PHONE_CONTACT,       /**< The filter for the contacts with phone number @n PhoneContactFilterProperty is only used in this type filter.
838                                                 The search result with this filter is a list of PhoneNumberContact. */
839         AB_FI_TYPE_EMAIL_CONTACT,       /**< The filter for the contacts with email @n EmailContactFilterProperty is only used in this type filter.
840                                                 The search result with this filter is a list of EmailContact. */
841 };
842
843 /**
844  * @enum AddressbookFilterProperty
845  * Defines the property for filtering the addressbooks. @n
846  * These properties can be used to create an AddressbookFilter of #AB_FI_TYPE_ADDRESSBOOK type.
847  *
848  * @since       2.0
849  */
850 enum AddressbookFilterProperty
851 {
852         AB_FI_PR_ADDRESSBOOK_ID = 1,            /**< The addressbook ID: int (AddressbookId) */
853         AB_FI_PR_ACCOUNT_ID,                    /**< The account ID: int (AccountId) */
854         AB_FI_PR_NAME,                          /**< The addressbook name: String */
855 };
856
857 /**
858  * @enum PersonFilterProperty
859  * Defines the property for filtering the persons. @n
860  * These properties can be used to create an AddressbookFilter of #AB_FI_TYPE_PERSON type.
861  *
862  * @since       2.0
863  */
864 enum PersonFilterProperty
865 {
866         PERSON_FI_PR_PERSON_ID = 100,           /**< The person ID: int (RecordId) */
867         PERSON_FI_PR_DISPLAY_NAME,              /**< The display name: String */
868         PERSON_FI_PR_HAS_PHONE,                 /**< Whether the person has phone numbers or not: bool */
869         PERSON_FI_PR_HAS_EMAIL,                 /**< Whether the person has emails or not: bool */
870         PERSON_FI_PR_IS_FAVORITE,               /**< Whether the person is favorite or not: bool */
871         PERSON_FI_PR_CATEGORY_ID,               /**< The category ID: int (RecordId) */
872         PERSON_FI_PR_ADDRESSBOOK_ID,            /**< The addressbook ID: int (AddressbookId) */
873 };
874
875 /**
876  * @enum ContactFilterProperty
877  * Defines the property for filtering the contacts. @n
878  * These properties can be used to create an AddressbookFilter of #AB_FI_TYPE_CONTACT type.
879  *
880  * @since       2.0
881  */
882 enum ContactFilterProperty
883 {
884         CONTACT_FI_PR_CONTACT_ID = 200,         /**< The contact ID: int (RecordId) */
885         CONTACT_FI_PR_ADDRESSBOOK_ID,           /**< The addressbook ID: int (AddressbookId) */
886         CONTACT_FI_PR_PERSON_ID,                /**< The person ID: int (PersonId) */
887         CONTACT_FI_PR_DISPLAY_NAME,             /**< The display name: String */
888         CONTACT_FI_PR_HAS_PHONE,                /**< Whether the contact has phone numbers or not: bool */
889         CONTACT_FI_PR_HAS_EMAIL,                /**< Whether the contact has emails or not: bool */
890 };
891
892 /**
893  * @enum CategoryFilterProperty
894  * Defines the property for filtering the categories.
895  * These properties can be used to create an AddressbookFilter of #AB_FI_TYPE_CATEGORY type.
896  *
897  * @since       2.0
898  */
899 enum CategoryFilterProperty
900 {
901         CATEGORY_FI_PR_CATEGORY_ID = 300,       /**< The category ID: int (RecordId) */
902         CATEGORY_FI_PR_ADDRESSBOOK_ID,          /**< The addressbook ID: int (AddressbookId) */
903         CATEGORY_FI_PR_NAME,                    /**< The category name: String */
904 };
905
906 /**
907  * @enum PhoneContactFilterProperty
908  * Defines the property for filtering the contacts with phone number.
909  * These properties can be used to create an AddressbookFilter of #AB_FI_TYPE_PHONE_CONTACT type.
910  *
911  * @since       2.0
912  */
913 enum PhoneContactFilterProperty
914 {
915         PHONE_CONTACT_FI_PR_CONTACT_ID = 400,       /**< The contact ID: int (RecordId) */
916         PHONE_CONTACT_FI_PR_ADDRESSBOOK_ID,         /**< The addressbook ID: int (AddressbookId) */
917         PHONE_CONTACT_FI_PR_PERSON_ID,              /**< The person ID: int (PersonId) */
918         PHONE_CONTACT_FI_PR_DISPLAY_NAME,           /**< The display name: String */
919         PHONE_CONTACT_FI_PR_PHONE,                  /**< The phone number: String */
920 };
921
922 /**
923  * @enum EmailContactFilterProperty
924  * Defines the property for filtering the contacts with email.
925  * These properties can be used to create an AddressbookFilter of #AB_FI_TYPE_EMAIL_CONTACT type.
926  *
927  * @since       2.0
928  */
929 enum EmailContactFilterProperty
930 {
931         EMAIL_CONTACT_FI_PR_CONTACT_ID = 500,              /**< The contact ID: int (RecordId) */
932         EMAIL_CONTACT_FI_PR_ADDRESSBOOK_ID,                /**< The addressbook ID: int (AddressbookId) */
933         EMAIL_CONTACT_FI_PR_PERSON_ID,                     /**< The person ID: int (PersonId) */
934         EMAIL_CONTACT_FI_PR_DISPLAY_NAME,                  /**< The display name: String */
935         EMAIL_CONTACT_FI_PR_EMAIL,                         /**< The email: String */
936 };
937
938 /**
939  * @enum        UserProfilePropertyId
940  *
941  * Defines the IDs for accessing the single value type properties of UserProfile.
942  * @since       2.1
943  */
944 enum UserProfilePropertyId
945 {
946         USER_PROFILE_PROPERTY_ID_FIRST_NAME = 1,                  /**< The first name property ID (String type) */
947         USER_PROFILE_PROPERTY_ID_LAST_NAME,                        /**< The last name property ID (String type) */
948         USER_PROFILE_PROPERTY_ID_MIDDLE_NAME,                      /**< The middle name property ID (String type) */
949         USER_PROFILE_PROPERTY_ID_NAME_PREFIX,                      /**< The name honorific prefix property ID (String type) */
950         USER_PROFILE_PROPERTY_ID_NAME_SUFFIX,                      /**< The name honorific suffix property ID (String type) */
951         USER_PROFILE_PROPERTY_ID_DISPLAY_NAME,                     /**< The formatted name property ID (String type) */
952         USER_PROFILE_PROPERTY_ID_PHONETIC_FIRST_NAME,           /**< The phonetic first name property ID (String type) */
953         USER_PROFILE_PROPERTY_ID_PHONETIC_LAST_NAME,            /**< The phonetic last name property ID (String type) */
954         USER_PROFILE_PROPERTY_ID_PHONETIC_MIDDLE_NAME,          /**< The phonetic middle name property ID (String type) */
955 };
956
957 /**
958  * @enum        UserProfileMultiPropertyId
959  *
960  * Defines the IDs for accessing the multi-value type properties of UserProfile. @n
961  * The properties have several values and they are called multi-type properties.
962  * @since       2.1
963  */
964 enum UserProfileMultiPropertyId
965 {
966         USER_PROFILE_MPROPERTY_ID_PHONE_NUMBERS,           /**< The phone number property ID (PhoneNumber class) */
967         USER_PROFILE_MPROPERTY_ID_EMAILS,                  /**< The email property ID (Email class) */
968         USER_PROFILE_MPROPERTY_ID_URLS,                    /**< The URL property ID (Url class) */
969         USER_PROFILE_MPROPERTY_ID_ADDRESSES,               /**< The address property ID (Address class) */
970         USER_PROFILE_MPROPERTY_ID_IMADDRESSES,             /**< The instant message property ID (ImAddress class) */
971         USER_PROFILE_MPROPERTY_ID_EVENTS,                  /**< The contact event property ID (ContactEvent class) */
972         USER_PROFILE_MPROPERTY_ID_ORGANIZATIONS,           /**< The organization property ID (Organization class) */
973         USER_PROFILE_MPROPERTY_ID_NOTES,                   /**< The note property ID (String type) */
974         USER_PROFILE_MPROPERTY_ID_NICKNAMES,               /**< The nickname property ID (String type) */
975         USER_PROFILE_MPROPERTY_ID_RELATIONSHIPS,           /**< The relationship property ID (Relationship type) */
976 };
977
978 /**
979  * @enum CalendarbookFilterType
980  * Defines the type of the filter for Calendarbook.
981  *
982  * @since       2.0
983  */
984 enum CalendarbookFilterType
985 {
986         CB_FI_TYPE_EVENT,               /**< The filter for the event of Calendarbook @n EventFilterProperty is only used in this type filter. The search result with this filter is a list of CalEvent. */
987         CB_FI_TYPE_TODO,                /**< The filter for the to-do of Calendarbook @n TodoFilterProperty is only used in this type filter. The search result with this filter is a list of CalTodo. */
988         CB_FI_TYPE_CALENDAR,            /**< The filter for the calendar of Calendarbook @n CalendarFilterProperty is only used in this type filter. The search result with this filter is a list of Calendar. */
989         CB_FI_TYPE_ALL_DAY_EVENT_INSTANCE,                      /**< The filter for all day event instance of Calendarbook @n EventInstanceFilterProperty is only used in this type filter. The search result with this filter is a list of CalEventInstance. */
990         CB_FI_TYPE_NON_ALL_DAY_EVENT_INSTANCE           /**< The filter for non-all day event instance of Calendarbook @n EventInstanceFilterProperty is only used in this type filter. The search result with this filter is a list of CalEventInstance. */
991 };
992
993 /**
994  * @enum EventFilterProperty
995  * Defines the property for filtering the events. @n
996  * These properties can be used to create a CalendarbookFilter of CB_FI_TYPE_EVENT type.
997  *
998  * @since       2.0
999  */
1000 enum EventFilterProperty
1001 {
1002         EVENT_FI_PR_EVENT_ID = 1,               /**< The event ID: int (RecordId) */
1003         EVENT_FI_PR_CALENDAR_ID,                /**< The calendar ID: long long (RecordId) */
1004         EVENT_FI_PR_SUBJECT,                            /**< The subject of the event: String */
1005         EVENT_FI_PR_DESCRIPTION,                /**< The description of the event: String */
1006         EVENT_FI_PR_LOCATION,                   /**< The location of the event: String */
1007         EVENT_FI_PR_BUSY_STATUS,                        /**< The busy status of the event: int (BusyStatus) */
1008         EVENT_FI_PR_PRIORITY,                           /**< The priority of the event: int (EventPriority) */
1009         EVENT_FI_PR_SENSITIVITY,                        /**< The sensitivity of the event: int (RecordSensitivity) */
1010         EVENT_FI_PR_STATUS,                     /**< The status of the event: int (EventStatus) */
1011         EVENT_FI_PR_UID,                                /**< The uid of the event: String */
1012         EVENT_FI_PR_LATITUDE,                           /**< The latitude of the event: Double */
1013         EVENT_FI_PR_LONGITUDE,                  /**< The longitude of the event: Double */
1014         EVENT_FI_PR_LAST_REVISED_TIME,                  /**< The last revised time of the event: DateTime */
1015         EVENT_FI_PR_HAS_REMINDER,                       /**< Whether the event has the reminder or not: bool*/
1016         EVENT_FI_PR_HAS_ATTENDEE                        /**< Whether the event has the attendee or not: bool*/
1017 };
1018
1019 /**
1020 * @enum TodoFilterProperty
1021 * Defines the property for filtering the to-dos. @n
1022 * These properties can be used to create a CalendarbookFilter of CB_FI_TYPE_TODO type.
1023 *
1024 * @since        2.0
1025 */
1026 enum TodoFilterProperty
1027 {
1028         TODO_FI_PR_TODO_ID = 100,                       /**< The todo ID: long long (RecordId) */
1029         TODO_FI_PR_CALENDAR_ID,                 /**< The calendar ID: long long (RecordId) */
1030         TODO_FI_PR_START_DATE,                  /**< The start date of the to-do: DateTime*/
1031         TODO_FI_PR_DUE_DATE,                    /**< The due date of the to-do: DateTime */
1032         TODO_FI_PR_SUBJECT,                     /**< The subject of the to-do: String */
1033         TODO_FI_PR_DESCRIPTION,                 /**< The description of the to-do: String */
1034         TODO_FI_PR_LOCATION,                            /**< The location of the to-do: String */
1035         TODO_FI_PR_PRIORITY,                            /**< The priority of the to-do: int (TodoPriority)*/
1036         TODO_FI_PR_SENSITIVITY,                 /**< The sensitivity of the to-do: int (RecordSensitivity) */
1037         TODO_FI_PR_STATUS,                              /**< The status of the to-do: int (TodoStatus) */
1038         TODO_FI_PR_LATITUDE,                    /**< The latitude of the to-do: double*/
1039         TODO_FI_PR_LONGITUDE,                   /**< The longitude of the to-do: double*/
1040         TODO_FI_PR_LAST_REVISED_TIME,                   /**< The last revised time of the to-do: DateTime */
1041         TODO_FI_PR_HAS_REMINDER                         /**< Whether the to-do has the reminder or not: bool*/
1042 };
1043
1044 /**
1045 * @enum EventInstanceFilterProperty
1046 * Defines the property for filtering the all day event instances or non-all day event instances. @n
1047 * These properties can be used to create a CalendarbookFilter of CB_FI_TYPE_ALL_DAY_EVENT_INSTANCE type or CB_FI_TYPE_NON_ALL_DAY_EVENT_INSTANCE type.
1048 *
1049 * @since        2.0
1050 */
1051 enum EventInstanceFilterProperty
1052 {
1053         EVENT_INST_FI_PR_ORIGINAL_EVENT_ID = 200,                       /**< The original event ID: int (RecordId) */
1054         EVENT_INST_FI_PR_CALENDAR_ID,                   /**< The calendar ID: int (RecordId) */
1055         EVENT_INST_FI_PR_START_TIME,                    /**< The start time of the event instance: DateTime */
1056         EVENT_INST_FI_PR_END_TIME,                      /**< The end time of the event instance: DateTime */
1057         EVENT_INST_FI_PR_SUBJECT,                               /**< The subject of the event instance: String */
1058         EVENT_INST_FI_PR_DESCRIPTION,                   /**< The description of the event instance: String */
1059         EVENT_INST_FI_PR_LOCATION,                              /**< The location of the event instance: String */
1060         EVENT_INST_FI_PR_BUSY_STATUS,                   /**< The busy status of the event instance: int (BusyStatus) */
1061         EVENT_INST_FI_PR_PRIORITY,                              /**< The priority of the event instance: int (EventPriority) */
1062         EVENT_INST_FI_PR_SENSITIVITY,                   /**< The sensitivity of the event instance: int (RecordSensitivity) */
1063         EVENT_INST_FI_PR_STATUS,                                /**< The status of the event instance: int (EventStatus) */
1064         EVENT_INST_FI_PR_LATITUDE,                      /**< The latitude of the event instance: Double */
1065         EVENT_INST_FI_PR_LONGITUDE,                     /**< The latitude of the event instance: Double */
1066         EVENT_INST_FI_PR_IS_RECURRING,                  /**< Whether the event instance is the recurring event or not: bool*/
1067         EVENT_INST_FI_PR_HAS_REMINDER                   /**< Whether the event instance has the reminder or not: bool*/
1068 };
1069
1070 /**
1071 * @enum CalendarFilterProperty
1072 * Defines the property for filtering the calendars. @n
1073 * These properties can be used to create a CalendarbookFilter of CB_FI_TYPE_CALENDAR type.
1074 *
1075 * @since        2.0
1076 */
1077 enum CalendarFilterProperty
1078 {
1079         CALENDAR_FI_PR_CALENDAR_ID = 400,                       /**< The calendar ID: int (RecordId) */
1080         CALENDAR_FI_PR_ACCOUNT_ID,                      /**< The account ID of calendar: int (AccountId) */
1081         CALENDAR_FI_PR_NAME,                                            /**< The name of calendar: String */
1082         CALENDAR_FI_PR_ITEM_TYPE                                /**< The type of calendar: int (CalendarItemType) */
1083 };
1084
1085 }}      // Tizen::Social
1086
1087 #endif // _FSCL_TYPES_H_