2 * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the License);
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an AS IS BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 using System.Collections.Generic;
20 namespace Tizen.Pims.Contacts
23 /// This class provides information about views with properties.
26 /// Views are provided to access and handle entities. A view is a structure, which has property elements.
27 /// A view is almost the same as a database "VIEW", which limits access and guarantees performance.
28 /// A "record" represents a single row of the views.
29 /// A record can have basic properties of five types: integer, string, boolean, long, double.
31 public static class ContactsViews
33 private const uint PropertyAddressBook = 0x00100000;
34 private const uint PropertyGroup = 0x00200000;
35 private const uint PropertyPerson = 0x00300000;
36 private const uint PropertyData = 0x00600000;
37 private const uint PropertySpeedDial = 0x00700000;
38 private const uint PropertyPhonelog = 0x00800000;
39 private const uint PropertyUpdateInfo = 0x00900000;
40 private const uint PropertyPhonelogStat = 0x00B00000;
42 private const uint PropertyContact = 0x01000000;
43 private const uint PropertyName = 0x01100000;
44 private const uint PropertyNumber = 0x01200000;
45 private const uint PropertyEmail = 0x01300000;
46 private const uint PropertyAddress = 0x01400000;
47 private const uint PropertyUrl = 0x01500000;
48 private const uint PropertyEvent = 0x01600000;
49 private const uint PropertyGroupRelation = 0x01700000;
50 private const uint PropertyRelationship = 0x01800000;
51 private const uint PropertyCompany = 0x01900000;
52 private const uint PropertyNickname = 0x01A00000;
53 private const uint PropertyMessenger = 0x01B00000;
54 private const uint PropertyNote = 0x01C00000;
55 private const uint PropertyProfile = 0x01D00000;
56 private const uint PropertyImage = 0x01E00000;
57 private const uint PropertyExtension = 0x01F00000;
58 private const uint PropertyMyProfile = 0x02000000;
59 private const uint PropertyActivityPhoto = 0x02100000;
60 private const uint PropertySip = 0x02200000;
62 /* data_type mask 0x000FF000 */
63 private const uint DataTypeBool = 0x00010000;
64 private const uint DataTypeInt = 0x00020000;
65 private const uint DataTypeLong = 0x00030000;
66 private const uint DataTypeString = 0x00040000;
67 private const uint DataTypeDouble = 0x00050000;
68 private const uint DataTypeRecord = 0x00060000;
70 private const uint ReadOnly = 0x00001000;
72 private enum PropertyIds : uint
75 AddressbookId = (PropertyAddressBook | DataTypeInt | ReadOnly),
76 AddressbookAccountId = (PropertyAddressBook | DataTypeInt) + 1,
77 AddressbookName = (PropertyAddressBook | DataTypeString) + 2,
78 AddressbookMode = (PropertyAddressBook | DataTypeInt) + 3,
81 GroupId = (PropertyGroup | DataTypeInt | ReadOnly),
82 GroupAddressbookId = (PropertyGroup | DataTypeInt) + 1,
83 GroupName = (PropertyGroup | DataTypeString) + 2,
84 GroupRingtone = (PropertyGroup | DataTypeString) + 3,
85 GroupImage = (PropertyGroup | DataTypeString) + 4,
86 GroupVibration = (PropertyGroup | DataTypeString) + 5,
87 GroupExtraData = (PropertyGroup | DataTypeString) + 6,
88 GroupIsReadOnly = (PropertyGroup | DataTypeBool) + 7,
89 GroupMessageAlert = (PropertyGroup | DataTypeString) + 8,
92 PersonId = (PropertyPerson | DataTypeInt | ReadOnly),
93 PersonDisplayName = (PropertyPerson | DataTypeString | ReadOnly) + 1,
94 PersonDisplayContactId = (PropertyPerson | DataTypeInt) + 2,
95 PersonRingtone = (PropertyPerson | DataTypeString) + 3,
96 PersonThumbnail = (PropertyPerson | DataTypeString | ReadOnly) + 4,
97 PersonVibration = (PropertyPerson | DataTypeString) + 5,
98 PersonIsFavorite = (PropertyPerson | DataTypeBool) + 6,
99 PersonFavoritePriority = (PropertyPerson | DataTypeDouble | ReadOnly) + 7,
100 PersonLinkCount = (PropertyPerson | DataTypeInt | ReadOnly) + 8,
101 PersonAddressbookIds = (PropertyPerson | DataTypeString | ReadOnly) + 9,
102 PersonHasPhoneNumber = (PropertyPerson | DataTypeBool | ReadOnly) + 10,
103 PersonHasEmail = (PropertyPerson | DataTypeBool | ReadOnly) + 11,
104 PersonDisplayNameIndex = (PropertyPerson | DataTypeString | ReadOnly) + 12,
105 PersonStatus = (PropertyPerson | DataTypeString | ReadOnly) + 13,
106 PersonMessageAlert = (PropertyPerson | DataTypeString) + 14,
107 PersonSnippetType = (PropertyPerson | DataTypeInt | ReadOnly) + 15,
108 PersonSnippetString = (PropertyPerson | DataTypeString | ReadOnly) + 16,
111 PersonUsageType = (PropertyPerson | DataTypeInt) + 100,
112 PersonTimesUsed = (PropertyPerson | DataTypeInt) + 101,
114 /* simple contact : read only */
116 ContactId = (PropertyContact | DataTypeInt | ReadOnly),
117 ContactDisplayName = (PropertyContact | DataTypeString | ReadOnly) + 1,
118 ContactDisplaySourceDataId = (PropertyContact | DataTypeInt | ReadOnly) + 2,
119 ContactAddressbookId = (PropertyContact | DataTypeInt) + 3,
120 ContactRingtone = (PropertyContact | DataTypeString) + 4,
121 ContactImage = (PropertyContact | DataTypeRecord) + 5,
122 ContactThumbnail = (PropertyContact | DataTypeString | ReadOnly) + 6,
123 ContactIsFavorite = (PropertyContact | DataTypeBool) + 7,
124 ContactHasPhoneNumber = (PropertyContact | DataTypeBool | ReadOnly) + 8,
125 ContactHasEmail = (PropertyContact | DataTypeBool | ReadOnly) + 9,
126 ContactPersonId = (PropertyContact | DataTypeInt) + 10,
127 ContactUid = (PropertyContact | DataTypeString) + 11,
128 ContactVibration = (PropertyContact | DataTypeString) + 12,
129 ContactChangedTime = (PropertyContact | DataTypeInt | ReadOnly) + 13,
130 ContactName = (PropertyContact | DataTypeRecord) + 14,
131 ContactCompany = (PropertyContact | DataTypeRecord) + 15,
132 ContactNote = (PropertyContact | DataTypeRecord) + 16,
133 ContactNumber = (PropertyContact | DataTypeRecord) + 17,
134 ContactEmail = (PropertyContact | DataTypeRecord) + 18,
135 ContactEvent = (PropertyContact | DataTypeRecord) + 19,
136 ContactMessenger = (PropertyContact | DataTypeRecord) + 20,
137 ContactAddress = (PropertyContact | DataTypeRecord) + 21,
138 ContactUrl = (PropertyContact | DataTypeRecord) + 22,
139 ContactNickname = (PropertyContact | DataTypeRecord) + 23,
140 ContactProfile = (PropertyContact | DataTypeRecord) + 24,
141 ContactRelationship = (PropertyContact | DataTypeRecord) + 25,
142 ContactGroupRelation = (PropertyContact | DataTypeRecord) + 26,
143 ContactExtension = (PropertyContact | DataTypeRecord) + 27,
144 ContactLinkMode = (PropertyContact | DataTypeInt) + 28,
145 ContactMessageAlert = (PropertyContact | DataTypeString) + 29,
146 ContactSip = (PropertyContact | DataTypeRecord) + 30,
149 MyProfileId = (PropertyMyProfile | DataTypeInt | ReadOnly),
150 MyProfileDisplayName = (PropertyMyProfile | DataTypeString | ReadOnly) + 1,
151 MyProfileAddressbookId = (PropertyMyProfile | DataTypeInt) + 2,
152 MyProfileImage = (PropertyMyProfile | DataTypeRecord) + 3,
153 MyProfileThumbnail = (PropertyMyProfile | DataTypeString | ReadOnly) + 4,
154 MyProfileUid = (PropertyMyProfile | DataTypeString) + 5,
155 MyProfileChangedTime = (PropertyMyProfile | DataTypeInt) + 6,
156 MyProfileName = (PropertyMyProfile | DataTypeRecord) + 7,
157 MyProfileCompany = (PropertyMyProfile | DataTypeRecord) + 8,
158 MyProfileNote = (PropertyMyProfile | DataTypeRecord) + 9,
159 MyProfileNumber = (PropertyMyProfile | DataTypeRecord) + 10,
160 MyProfileEmail = (PropertyMyProfile | DataTypeRecord) + 11,
161 MyProfileEvent = (PropertyMyProfile | DataTypeRecord) + 12,
162 MyProfileMessenger = (PropertyMyProfile | DataTypeRecord) + 13,
163 MyProfileAddress = (PropertyMyProfile | DataTypeRecord) + 14,
164 MyProfileUrl = (PropertyMyProfile | DataTypeRecord) + 15,
165 MyProfileNickname = (PropertyMyProfile | DataTypeRecord) + 16,
166 MyProfileProfile = (PropertyMyProfile | DataTypeRecord) + 17,
167 MyProfileRelationship = (PropertyMyProfile | DataTypeRecord) + 18,
168 MyProfileExtension = (PropertyMyProfile | DataTypeRecord) + 19,
169 MyProfileSip = (PropertyMyProfile | DataTypeRecord) + 20,
172 DataId = (PropertyData | DataTypeInt),
173 DataContactId = (PropertyData | DataTypeInt) + 1,
174 DataType = (PropertyData | DataTypeInt) + 2,
175 DataIsPrimaryDefault = (PropertyData | DataTypeBool) + 3,
176 DataIsDefault = (PropertyData | DataTypeBool) + 4,
177 DataData1 = (PropertyData | DataTypeInt) + 5,
178 DataData2 = (PropertyData | DataTypeString) + 6,
179 DataData3 = (PropertyData | DataTypeString) + 7,
180 DataData4 = (PropertyData | DataTypeString) + 8,
181 DataData5 = (PropertyData | DataTypeString) + 9,
182 DataData6 = (PropertyData | DataTypeString) + 10,
183 DataData7 = (PropertyData | DataTypeString) + 11,
184 DataData8 = (PropertyData | DataTypeString) + 12,
185 DataData9 = (PropertyData | DataTypeString) + 13,
186 DataData10 = (PropertyData | DataTypeString) + 14,
189 NameId = (PropertyName | DataTypeInt | ReadOnly),
190 NameContactId = (PropertyName | DataTypeInt) + 1,
191 NameFirst = (PropertyName | DataTypeString) + 2,
192 NameLast = (PropertyName | DataTypeString) + 3,
193 NameAddition = (PropertyName | DataTypeString) + 4,
194 NameSuffix = (PropertyName | DataTypeString) + 5,
195 NamePrefix = (PropertyName | DataTypeString) + 6,
196 NamePhoneticFirst = (PropertyName | DataTypeString) + 7,
197 NamePhoneticMiddle = (PropertyName | DataTypeString) + 8,
198 NamePhoneticLast = (PropertyName | DataTypeString) + 9,
201 NumberId = (PropertyNumber | DataTypeInt | ReadOnly),
202 NumberContactId = (PropertyNumber | DataTypeInt) + 1,
203 NumberType = (PropertyNumber | DataTypeInt) + 2,
204 NumberLabel = (PropertyNumber | DataTypeString) + 3,
205 NumberIsDefault = (PropertyNumber | DataTypeBool) + 4,
206 NumberNumber = (PropertyNumber | DataTypeString) + 5,
207 NumberNumberFilter = (PropertyNumber | DataTypeString) + 6,
208 NumberNormalizedNumber = (PropertyNumber | DataTypeString | ReadOnly) + 7,
209 NumberCleanedNumber = (PropertyNumber | DataTypeString | ReadOnly) + 8,
212 EmailId = (PropertyEmail | DataTypeInt | ReadOnly),
213 EmailContactId = (PropertyEmail | DataTypeInt) + 1,
214 EmailType = (PropertyEmail | DataTypeInt) + 2,
215 EmailLabel = (PropertyEmail | DataTypeString) + 3,
216 EmailIsDefault = (PropertyEmail | DataTypeBool) + 4,
217 EmailEmail = (PropertyEmail | DataTypeString) + 5,
219 /* contact_address */
220 AddressId = (PropertyAddress | DataTypeInt | ReadOnly),
221 AddressContactId = (PropertyAddress | DataTypeInt) + 1,
222 AddressType = (PropertyAddress | DataTypeInt) + 2,
223 AddressLabel = (PropertyAddress | DataTypeString) + 3,
224 AddressPostbox = (PropertyAddress | DataTypeString) + 4,
225 AddressPostalCode = (PropertyAddress | DataTypeString) + 5,
226 AddressRegion = (PropertyAddress | DataTypeString) + 6,
227 AddressLocality = (PropertyAddress | DataTypeString) + 7,
228 AddressStreet = (PropertyAddress | DataTypeString) + 8,
229 AddressCountry = (PropertyAddress | DataTypeString) + 9,
230 AddressExtended = (PropertyAddress | DataTypeString) + 10,
231 AddressIsDefault = (PropertyAddress | DataTypeBool) + 11,
234 UrlId = (PropertyUrl | DataTypeInt | ReadOnly),
235 UrlContactId = (PropertyUrl | DataTypeInt) + 1,
236 UrlType = (PropertyUrl | DataTypeInt) + 2,
237 UrlLabel = (PropertyUrl | DataTypeString) + 3,
238 UrlUrl = (PropertyUrl | DataTypeString) + 4,
241 EventId = (PropertyEvent | DataTypeInt | ReadOnly),
242 EventContactId = (PropertyEvent | DataTypeInt) + 1,
243 EventType = (PropertyEvent | DataTypeInt) + 2,
244 EventLabel = (PropertyEvent | DataTypeString) + 3,
245 EventDate = (PropertyEvent | DataTypeInt) + 4,
246 EventCalendarType = (PropertyEvent | DataTypeInt) + 5,
247 EventIsLeapMonth = (PropertyEvent | DataTypeBool) + 6,
249 /* contact_grouprelation */
250 GroupRelationId = (PropertyGroupRelation | DataTypeInt | ReadOnly),
251 GroupRelationGroupId = (PropertyGroupRelation | DataTypeInt) + 1,
252 GroupRelationContactId = (PropertyGroupRelation | DataTypeInt) + 2,
253 GroupRelationGroupName = (PropertyGroupRelation | DataTypeString) + 3,
255 /* contact_relationship */
256 RelationshipId = (PropertyRelationship | DataTypeInt | ReadOnly),
257 RelationshipContactId = (PropertyRelationship | DataTypeInt) + 1,
258 RelationshipType = (PropertyRelationship | DataTypeInt) + 2,
259 RelationshipLabel = (PropertyRelationship | DataTypeString) + 3,
260 RelationshipName = (PropertyRelationship | DataTypeString) + 4,
263 ImageId = (PropertyImage | DataTypeInt | ReadOnly),
264 ImageContactId = (PropertyImage | DataTypeInt) + 1,
265 ImageType = (PropertyImage | DataTypeInt) + 2,
266 ImageLabel = (PropertyImage | DataTypeString) + 3,
267 ImagePath = (PropertyImage | DataTypeString) + 4,
268 ImageIsDefault = (PropertyImage | DataTypeBool) + 5,
270 /* contact_company */
271 CompanyId = (PropertyCompany | DataTypeInt | ReadOnly),
272 CompanyContactId = (PropertyCompany | DataTypeInt) + 1,
273 CompanyType = (PropertyCompany | DataTypeInt) + 2,
274 CompanyLabel = (PropertyCompany | DataTypeString) + 3,
275 CompanyName = (PropertyCompany | DataTypeString) + 4,
276 CompanyDepartment = (PropertyCompany | DataTypeString) + 5,
277 CompanyJobTitle = (PropertyCompany | DataTypeString) + 6,
278 CompanyRole = (PropertyCompany | DataTypeString) + 7,
279 CompanyAssistantName = (PropertyCompany | DataTypeString) + 8,
280 CompanyLogo = (PropertyCompany | DataTypeString) + 9,
281 CompanyLocation = (PropertyCompany | DataTypeString) + 10,
282 CompanyDescription = (PropertyCompany | DataTypeString) + 11,
283 CompanyPhoneticName = (PropertyCompany | DataTypeString) + 12,
285 /* contact_nickname */
286 NicknameId = (PropertyNickname | DataTypeInt | ReadOnly),
287 NicknameContactId = (PropertyNickname | DataTypeInt) + 1,
288 NicknameName = (PropertyNickname | DataTypeString) + 2,
290 /* contact_messenger */
291 MessengerId = (PropertyMessenger | DataTypeInt | ReadOnly),
292 MessengerContactId = (PropertyMessenger | DataTypeInt) + 1,
293 MessengerType = (PropertyMessenger | DataTypeInt) + 2,
294 MessengerLabel = (PropertyMessenger | DataTypeString) + 3,
295 MessengerIMId = (PropertyMessenger | DataTypeString) + 4,
298 NoteId = (PropertyNote | DataTypeInt | ReadOnly),
299 NoteContactId = (PropertyNote | DataTypeInt) + 1,
300 NoteNote = (PropertyNote | DataTypeString) + 2,
303 SipId = (PropertySip | DataTypeInt | ReadOnly),
304 SipContactId = (PropertySip | DataTypeInt) + 1,
305 SipAddress = (PropertySip | DataTypeString) + 2,
306 SipType = (PropertySip | DataTypeInt) + 3,
307 SipLabel = (PropertySip | DataTypeString) + 4,
309 /* contact_profile */
310 ProfileId = (PropertyProfile | DataTypeInt | ReadOnly),
311 ProfileContactId = (PropertyProfile | DataTypeInt) + 1,
312 ProfileUid = (PropertyProfile | DataTypeString) + 2,
313 ProfileText = (PropertyProfile | DataTypeString) + 3,
314 ProfileOrder = (PropertyProfile | DataTypeInt) + 4,
315 ProfileServiceOperation = (PropertyProfile | DataTypeString) + 5,
316 ProfileMIME = (PropertyProfile | DataTypeString) + 6,
317 ProfileAppId = (PropertyProfile | DataTypeString) + 7,
318 ProfileUri = (PropertyProfile | DataTypeString) + 8,
319 ProfileCategory = (PropertyProfile | DataTypeString) + 9,
320 ProfileExtraData = (PropertyProfile | DataTypeString) + 10,
322 ExtensionId = (PropertyExtension | DataTypeInt | ReadOnly),
323 ExtensionContactId = (PropertyExtension | DataTypeInt) +1,
324 ExtensionData1 = (PropertyExtension | DataTypeInt) +2,
325 ExtensionData2 = (PropertyExtension | DataTypeString) +3,
326 ExtensionData3 = (PropertyExtension | DataTypeString) +4,
327 ExtensionData4 = (PropertyExtension | DataTypeString) +5,
328 ExtensionData5 = (PropertyExtension | DataTypeString) +6,
329 ExtensionData6 = (PropertyExtension | DataTypeString) +7,
330 ExtensionData7 = (PropertyExtension | DataTypeString) +8,
331 ExtensionData8 = (PropertyExtension | DataTypeString) +9,
332 ExtensionData9 = (PropertyExtension | DataTypeString) +10,
333 ExtensionData10 = (PropertyExtension | DataTypeString) +11,
334 ExtensionData11 = (PropertyExtension | DataTypeString) +12,
335 ExtensionData12 = (PropertyExtension | DataTypeString) +13,
338 SpeedDialDialNumber = (PropertySpeedDial | DataTypeInt),
339 SpeedDialNumberId = (PropertySpeedDial | DataTypeInt) +1,
340 SpeedDialNumber = (PropertySpeedDial | DataTypeString | ReadOnly) +2,
341 SpeedDialNumberLabel = (PropertySpeedDial | DataTypeString | ReadOnly) +3,
342 SpeedDialNumberType = (PropertySpeedDial | DataTypeInt | ReadOnly) +4,
343 SpeedDialPersonId = (PropertySpeedDial | DataTypeInt | ReadOnly) +5,
344 SpeedDialDisplayName = (PropertySpeedDial | DataTypeString | ReadOnly) +6,
345 SpeedDialThumbnail = (PropertySpeedDial | DataTypeString | ReadOnly) +7,
346 SpeedDialNormalizedNumber = (PropertySpeedDial | DataTypeString | ReadOnly) +8,
347 SpeedDialCleanedNumber = (PropertySpeedDial | DataTypeString | ReadOnly) +9,
348 SpeedDialNumberFilter = (PropertySpeedDial | DataTypeString | ReadOnly) +10,
351 PhonelogId = (PropertyPhonelog | DataTypeInt | ReadOnly),
352 PhonelogPersonId = (PropertyPhonelog | DataTypeInt) + 1,
353 PhonelogAddress = (PropertyPhonelog | DataTypeString) + 2,
354 PhonelogLogTime = (PropertyPhonelog | DataTypeInt) + 3,
355 PhonelogLogType = (PropertyPhonelog | DataTypeInt) + 4,
356 PhonelogExtraData1 = (PropertyPhonelog | DataTypeInt) + 5, /* duration, message_id, email_id */
357 PhonelogExtraData2 = (PropertyPhonelog | DataTypeString) + 6, /* short message, subject */
358 PhonelogNormalizedAddress = (PropertyPhonelog | DataTypeString | ReadOnly) + 7, /* for search by calllog number */
359 PhonelogCleanedAddress = (PropertyPhonelog | DataTypeString | ReadOnly) + 8, /* for search by calllog number */
360 PhonelogAddressFilter = (PropertyPhonelog | DataTypeString | ReadOnly) + 9, /* for search by calllog number */
361 PhonelogSIMSlotNo = (PropertyPhonelog | DataTypeInt) + 10,
364 PhonelogStatLogCount = (PropertyPhonelogStat | DataTypeInt | ReadOnly),
365 PhonelogStatLogType = (PropertyPhonelogStat | DataTypeInt | ReadOnly) + 1,
366 PhonelogStatSIMSlotNo = (PropertyPhonelogStat | DataTypeInt | ReadOnly) + 2,
368 /* updated_info : read only */
369 UpdateInfoId = (PropertyUpdateInfo | DataTypeInt),
370 UpdateInfoAddressbookId = (PropertyUpdateInfo | DataTypeInt) +1,
371 UpdateInfoType = (PropertyUpdateInfo | DataTypeInt) +2,
372 UpdateInfoVersion = (PropertyUpdateInfo | DataTypeInt) +3,
373 UpdateInfoImageChanged = (PropertyUpdateInfo | DataTypeBool) +4,
374 UpdateInfoLastChangedType = (PropertyUpdateInfo | DataTypeInt)+5, /* now, it is used for _contacts_my_profile_updated_info */
378 /// Enumeration for contact change state.
380 public enum ChangeTypes
396 internal const uint AverageSizeOfRecord = 120; /* average size of person record */
399 /// Describes properies of a Address book record.
401 public static class Addressbook
404 /// Identifier of this contacts addressbook view
406 public const string Uri = "tizen.contacts_view.addressbook";
408 /// integer, read only, DB record ID of the addressbook
410 public const uint Id = (uint)PropertyIds.AddressbookId;
412 /// integer, read/write once, Account ID that the addressbook belongs to
414 public const uint AccountId = (uint)PropertyIds.AddressbookAccountId;
416 /// string, read/write, It cannot be NULL. Duplicate names are not allowed.
418 public const uint Name = (uint)PropertyIds.AddressbookName;
420 /// integer, read/write, Addressbook mode, refer to the Modes
422 public const uint Mode = (uint)PropertyIds.AddressbookMode;
425 /// Enumeration for Address book mode.
430 /// All module can read and write contacts of this address_book
434 /// All module can only read contacts of this address_book
441 /// Describes properies of a Group record.
443 public static class Group
446 /// Identifier of this contacts group view
448 public const string Uri = "tizen.contacts_view.group";
450 /// DB record ID of the group
452 public const uint Id = (uint)PropertyIds.GroupId;
454 /// Addressbook ID that the group belongs to
456 public const uint AddressbookId = (uint)PropertyIds.GroupAddressbookId;
460 public const uint Name = (uint)PropertyIds.GroupName;
462 /// Ringtone path of the group
464 public const uint RingtonePath = (uint)PropertyIds.GroupRingtone;
466 /// Image path of the group
468 public const uint ImagePath = (uint)PropertyIds.GroupImage;
470 /// Vibration path of the group
472 public const uint Vibration = (uint)PropertyIds.GroupVibration;
474 /// Extra data for default group name
476 public const uint ExtraData = (uint)PropertyIds.GroupExtraData;
478 /// The group is read only or not
480 public const uint IsReadOnly = (uint)PropertyIds.GroupIsReadOnly;
482 /// Message alert path of the group
484 public const uint MessageAlert = (uint)PropertyIds.GroupMessageAlert;
488 /// Describes properies of a Person record.
490 public static class Person
493 /// Identifier of this contacts person view
495 public const string Uri = "tizen.contacts_view.person";
497 /// DB record ID of the person
499 public const uint Id = (uint)PropertyIds.PersonId;
501 /// Display name of the person
503 public const uint DisplayName = (uint)PropertyIds.PersonDisplayName;
505 /// The first character of first string for grouping. This is normalized using icu (projection)
507 public const uint DisplayNameIndex = (uint)PropertyIds.PersonDisplayNameIndex;
509 /// Display contact ID that the person belongs to
511 public const uint DisplayContactId = (uint)PropertyIds.PersonDisplayContactId;
513 /// Ringtone path of the person
515 public const uint RingtonePath = (uint)PropertyIds.PersonRingtone;
517 /// Image thumbnail path of the person
519 public const uint ThumbnailPath = (uint)PropertyIds.PersonThumbnail;
521 /// Vibration path of the person
523 public const uint Vibration = (uint)PropertyIds.PersonVibration;
525 /// Message alert path of the person
527 public const uint MessageAlert = (uint)PropertyIds.PersonMessageAlert;
529 /// Status of social account
531 public const uint Status = (uint)PropertyIds.PersonStatus;
533 /// The person is favorite or not
535 public const uint IsFavorite = (uint)PropertyIds.PersonIsFavorite;
537 /// The priority of favorite contacts. it can be used as sorting key
539 public const uint FavoritePriority = (uint)PropertyIds.PersonFavoritePriority;
541 /// Link count of contact records (projection)
543 public const uint LinkCount = (uint)PropertyIds.PersonLinkCount;
545 /// Addressbook IDs that the person belongs to (projection)
547 public const uint AddressbookIds = (uint)PropertyIds.PersonAddressbookIds;
549 /// The person has phone number or not
551 public const uint HasPhoneNumber = (uint)PropertyIds.PersonHasPhoneNumber;
553 /// The person has email or not
555 public const uint HasEmail = (uint)PropertyIds.PersonHasEmail;
557 /// kerword matched data type
559 public const uint SnippetType = (uint)PropertyIds.PersonSnippetType;
561 /// keyword matched data string
563 public const uint SnippetString = (uint)PropertyIds.PersonSnippetString;
567 /// Describes properies of a Contact record.
569 public static class Contact
572 /// Identifier of this contact view
574 public const string Uri = "tizen.contacts_view.contact";
576 /// DB record ID of the contact
578 public const uint Id = (uint)PropertyIds.ContactId;
580 /// Display name of the contact
582 public const uint DisplayName = (uint)PropertyIds.ContactDisplayName;
584 /// The source type of display name, refer to the DisplayNameSourceTypes
586 public const uint DisplaySourceType = (uint)PropertyIds.ContactDisplaySourceDataId;
588 /// Addressbook ID that the contact belongs to
590 public const uint AddressbookId = (uint)PropertyIds.ContactAddressbookId;
592 /// Ringtone path of the contact
594 public const uint RingtonePath = (uint)PropertyIds.ContactRingtone;
596 /// Image thumbnail path of the contact
598 public const uint ThumbnailPath = (uint)PropertyIds.ContactThumbnail;
600 /// The contact is favorite or not
602 public const uint IsFavorite = (uint)PropertyIds.ContactIsFavorite;
604 /// The contact has phone number or not
606 public const uint HasPhoneNumber = (uint)PropertyIds.ContactHasPhoneNumber;
608 /// The contact has email or not
610 public const uint HasEmail = (uint)PropertyIds.ContactHasEmail;
612 /// Person ID that the contact belongs to. If set when inserting, a contact will be linked to person
614 public const uint PersonId = (uint)PropertyIds.ContactPersonId;
616 /// Unique identifier
618 public const uint Uid = (uint)PropertyIds.ContactUid;
620 /// Vibration path of the contact
622 public const uint Vibration = (uint)PropertyIds.ContactVibration;
624 /// Message alert path of the contact
626 public const uint MessageAlert = (uint)PropertyIds.ContactMessageAlert;
628 /// Last changed contact time
630 public const uint ChangedTime = (uint)PropertyIds.ContactChangedTime;
632 /// The link mode, refer to the LinkModes. If the person_id was set, this value will be ignored
634 public const uint LinkMode = (uint)PropertyIds.ContactLinkMode;
636 /// Name child record (single)
638 public const uint Name = (uint)PropertyIds.ContactName;
640 /// Company child record (multiple)
642 public const uint Company = (uint)PropertyIds.ContactCompany;
644 /// Note child record (multiple)
646 public const uint Note = (uint)PropertyIds.ContactNote;
648 /// Number child record (multiple)
650 public const uint Number = (uint)PropertyIds.ContactNumber;
652 /// Email child record (multiple)
654 public const uint Email = (uint)PropertyIds.ContactEmail;
656 /// Event child record (multiple)
658 public const uint Event = (uint)PropertyIds.ContactEvent;
660 /// Messenger child record (multiple)
662 public const uint Messenger = (uint)PropertyIds.ContactMessenger;
664 /// Address child record (multiple)
666 public const uint Address = (uint)PropertyIds.ContactAddress;
668 /// Url child record (multiple)
670 public const uint Url = (uint)PropertyIds.ContactUrl;
672 /// Nickname child record (multiple)
674 public const uint Nickname = (uint)PropertyIds.ContactNickname;
676 /// Profile child record (multiple)
678 public const uint Profile = (uint)PropertyIds.ContactProfile;
680 /// Relationship child record (multiple)
682 public const uint Relationship = (uint)PropertyIds.ContactRelationship;
684 /// Image child record (multiple)
686 public const uint Image = (uint)PropertyIds.ContactImage;
688 /// GroupRelation child record (multiple)
690 public const uint GroupRelation = (uint)PropertyIds.ContactGroupRelation;
692 /// Extension child record (multiple)
694 public const uint Extension = (uint)PropertyIds.ContactExtension;
696 /// Sip child record (multiple)
698 public const uint Sip = (uint)PropertyIds.ContactSip;
701 /// Enumeration for link mode when inserting contact.
703 public enum LinkModes
706 /// Auto link immediately
710 /// Do not auto link when the contact is inserted
716 /// Enumeration for Contact display name source type.
718 public enum DisplayNameSourceTypes
721 /// Invalid source of display name
725 /// Produced display name from email record
729 /// Produced display name from number record
733 /// Produced display name from nickname record
737 /// Produced display name from company record
741 /// Produced display name from name record
747 /// Enumeration for contacts data type.
749 public enum DataTypes
770 /// Describes properies of a Simple contact record.
772 public static class SimpleContact
775 /// Identifier of this simple contact view
777 public const string Uri = "tizen.contacts_view.simple_contact";
779 /// DB record ID of the contact
781 public const uint Id = (uint)PropertyIds.ContactId;
783 /// Display name of the contact
785 public const uint DisplayName = (uint)PropertyIds.ContactDisplayName;
787 /// The source type of display name, refer to the Contact.DisplayNameSourceTypes
789 public const uint DisplaySourceType = (uint)PropertyIds.ContactDisplaySourceDataId;
791 /// Addressbook that the contact belongs to
793 public const uint AddressbookId = (uint)PropertyIds.ContactAddressbookId;
795 /// Ringtone path of the contact
797 public const uint RingtonePath = (uint)PropertyIds.ContactRingtone;
799 /// Image thumbnail path of the contact
801 public const uint ThumbnailPath = (uint)PropertyIds.ContactThumbnail;
803 /// The contact is favorite or not
805 public const uint IsFavorite = (uint)PropertyIds.ContactIsFavorite;
807 /// The contact has phone number or not
809 public const uint HasPhoneNumber = (uint)PropertyIds.ContactHasPhoneNumber;
811 /// The contact has email or not
813 public const uint HasEmail = (uint)PropertyIds.ContactHasEmail;
815 /// Person ID that the contact belongs to
817 public const uint PersonId = (uint)PropertyIds.ContactPersonId;
819 /// Unique identifier
821 public const uint Uid = (uint)PropertyIds.ContactUid;
823 /// Vibration path of the contact
825 public const uint Vibration = (uint)PropertyIds.ContactVibration;
827 /// Message alert path of the contact
829 public const uint MessageAlert = (uint)PropertyIds.ContactMessageAlert;
831 /// Last changed contact time
833 public const uint ChangedTime = (uint)PropertyIds.ContactChangedTime;
837 /// Describes properies of a My profile record.
839 public static class MyProfile
842 /// Identifier of this my profile view
844 public const string Uri = "tizen.contacts_view.my_profile";
846 /// DB record ID of the my profile
848 public const uint Id = (uint)PropertyIds.MyProfileId;
850 /// Display name of the profile
852 public const uint DisplayName = (uint)PropertyIds.MyProfileDisplayName;
854 /// Addressbook ID that the profile belongs to
856 public const uint AddressbookId = (uint)PropertyIds.MyProfileAddressbookId;
858 /// Image thumbnail path of the profile
860 public const uint ThumbnailPath = (uint)PropertyIds.MyProfileThumbnail;
862 /// Unique identifier
864 public const uint Uid = (uint)PropertyIds.MyProfileUid;
866 /// Last changed profile time
868 public const uint ChangedTime = (uint)PropertyIds.MyProfileChangedTime;
870 /// Name child record (single)
872 public const uint Name = (uint)PropertyIds.MyProfileName;
874 /// Company child record (multiple)
876 public const uint Company = (uint)PropertyIds.MyProfileCompany;
878 /// Note child record (multiple)
880 public const uint Note = (uint)PropertyIds.MyProfileNote;
882 /// Number child record (multiple)
884 public const uint Number = (uint)PropertyIds.MyProfileNumber;
886 /// Email child record (multiple)
888 public const uint Email = (uint)PropertyIds.MyProfileEmail;
890 /// Event child record (multiple)
892 public const uint Event = (uint)PropertyIds.MyProfileEvent;
894 /// Messenger child record (multiple)
896 public const uint Messenger = (uint)PropertyIds.MyProfileMessenger;
898 /// Address child record (multiple)
900 public const uint Address = (uint)PropertyIds.MyProfileAddress;
902 /// Url child record (multiple)
904 public const uint Url = (uint)PropertyIds.MyProfileUrl;
906 /// Nickname child record (multiple)
908 public const uint Nickname = (uint)PropertyIds.MyProfileNickname;
910 /// Profile child record (multiple)
912 public const uint Profile = (uint)PropertyIds.MyProfileProfile;
914 /// Relationship child record (multiple)
916 public const uint Relationship = (uint)PropertyIds.MyProfileRelationship;
918 /// Image child record (multiple)
920 public const uint Image = (uint)PropertyIds.MyProfileImage;
922 /// Extension child record (multiple)
924 public const uint Extension = (uint)PropertyIds.MyProfileExtension;
926 /// Sip child record (multiple)
928 public const uint Sip = (uint)PropertyIds.MyProfileSip;
932 /// Describes properies of a Name record.
934 public static class Name
937 /// Identifier of this contacts name view
939 public const string Uri = "tizen.contacts_view.name";
941 /// DB record ID of the name
943 public const uint Id = (uint)PropertyIds.NameId;
945 /// Contacts ID that the name record belongs to
947 public const uint ContactId = (uint)PropertyIds.NameContactId;
951 public const uint First = (uint)PropertyIds.NameFirst;
955 public const uint Last = (uint)PropertyIds.NameLast;
959 public const uint Addition = (uint)PropertyIds.NameAddition;
963 public const uint Suffix = (uint)PropertyIds.NameSuffix;
967 public const uint Prefix = (uint)PropertyIds.NamePrefix;
969 /// Pronounce the first name
971 public const uint PhoneticFirst = (uint)PropertyIds.NamePhoneticFirst;
973 /// Pronounce the middle name
975 public const uint PhoneticMiddle = (uint)PropertyIds.NamePhoneticMiddle;
977 /// Pronounce the last name
979 public const uint PhoneticLast = (uint)PropertyIds.NamePhoneticLast;
983 /// Describes properies of a Number record.
985 public static class Number
988 /// Identifier of this contacts number view
990 public const string Uri = "tizen.contacts_view.number";
992 /// DB record ID of the number
994 public const uint Id = (uint)PropertyIds.NumberId;
996 /// Contact ID that the number belongs to
998 public const uint ContactId = (uint)PropertyIds.NumberContactId;
1000 /// Number type, refer to the Types
1002 public const uint Type = (uint)PropertyIds.NumberType;
1004 /// Custom number type label, when the number type is Types.Custom
1006 public const uint Label = (uint)PropertyIds.NumberLabel;
1008 /// The number is default number or not
1010 public const uint IsDefault = (uint)PropertyIds.NumberIsDefault;
1014 public const uint NumberData = (uint)PropertyIds.NumberNumber;
1016 /// You can only use this property for search filter.
1018 public const uint NormalizedNumber = (uint)PropertyIds.NumberNormalizedNumber;
1020 /// You can only use this property for search filter.
1022 public const uint CleanedNumber = (uint)PropertyIds.NumberCleanedNumber;
1024 /// You can only use this property for search filter.
1026 public const uint NumberFilter = (uint)PropertyIds.NumberNumberFilter;
1029 /// Enumeration for number type.
1034 /// Other number type
1038 /// Custom number type
1042 /// A telephone number associated with a residence
1046 /// A telephone number associated with a place of work
1050 /// A voice telephone number
1054 /// A facsimile telephone number
1058 /// The telephone number has voice messaging support
1062 /// A cellular telephone number
1066 /// A paging device telephone number
1070 /// A bulletin board system telephone number
1074 /// A MODEM connected telephone number
1078 /// A car-phone telephone number
1082 /// An ISDN service telephone number
1086 /// A video conferencing telephone number
1090 /// A personal communication services telephone number
1094 /// A company main number
1098 /// A radio phone number
1102 /// An additional type for main
1106 /// An additional type for assistant
1108 Assistant = 1 << 30,
1113 /// Describes properies of a Email record.
1115 public static class Email
1118 /// Identifier of this contacts email view
1120 public const string Uri = "tizen.contacts_view.email";
1122 /// DB record ID of the email
1124 public const uint Id = (uint)PropertyIds.EmailId;
1126 /// Contact ID that the email belongs to
1128 public const uint ContactId = (uint)PropertyIds.EmailContactId;
1130 /// Email type, refer to the Types
1132 public const uint Type = (uint)PropertyIds.EmailType;
1134 /// Custom mail type label, when the email type is Types.Custom
1136 public const uint Label = (uint)PropertyIds.EmailLabel;
1138 /// The email is default email or not
1140 public const uint IsDefault = (uint)PropertyIds.EmailIsDefault;
1144 public const uint Address = (uint)PropertyIds.EmailEmail;
1147 /// Enumeration for Contact email type.
1152 /// Other email type
1156 /// Custom email type
1160 /// An email address associated with a residence
1164 /// An email address associated with a place of work
1168 /// A mobile email address
1175 /// Describes properies of a Address record.
1177 public static class Address
1180 /// Identifier of this contacts address view
1182 public const string Uri = "tizen.contacts_view.address";
1184 /// DB record ID of the address
1186 public const uint Id = (uint)PropertyIds.AddressId;
1188 /// Contact ID that the address belongs to
1190 public const uint ContactId = (uint)PropertyIds.AddressContactId;
1192 /// Address type, refer to the Types
1194 public const uint Type = (uint)PropertyIds.AddressType;
1196 /// Address type label, when the address type is Types.Custom
1198 public const uint Label = (uint)PropertyIds.AddressLabel;
1202 public const uint Postbox = (uint)PropertyIds.AddressPostbox;
1206 public const uint PostalCode = (uint)PropertyIds.AddressPostalCode;
1210 public const uint Region = (uint)PropertyIds.AddressRegion;
1214 public const uint Locality = (uint)PropertyIds.AddressLocality;
1218 public const uint Street = (uint)PropertyIds.AddressStreet;
1222 public const uint Country = (uint)PropertyIds.AddressCountry;
1224 /// Extended address
1226 public const uint Extended = (uint)PropertyIds.AddressExtended;
1228 /// The address is default or not
1230 public const uint IsDefault = (uint)PropertyIds.AddressIsDefault;
1233 /// Enumeration for Contact address type.
1238 /// Other address type
1242 /// Custom address type
1246 /// A delivery address for a residence
1250 /// A delivery address for a place of work
1254 /// A domestic delivery address
1258 /// An international delivery address
1260 International = 1 << 4,
1262 /// A postal delivery address
1266 /// A parcel delivery address
1273 /// Describes properies of a Note record.
1275 public static class Note
1278 /// Identifier of this contacts note view
1280 public const string Uri = "tizen.contacts_view.note";
1282 /// DB record ID of the note
1284 public const uint Id = (uint)PropertyIds.NoteId;
1286 /// Contact ID that the note belongs to
1288 public const uint ContactId = (uint)PropertyIds.NoteContactId;
1292 public const uint Contents = (uint)PropertyIds.NoteNote;
1296 /// Describes properies of a Url record.
1298 public static class Url
1301 /// Identifier of this contacts URL view
1303 public const string Uri = "tizen.contacts_view.url";
1305 /// DB record ID of the URL
1307 public const uint Id = (uint)PropertyIds.UrlId;
1309 /// Contact ID that the URL belongs to
1311 public const uint ContactId = (uint)PropertyIds.UrlContactId;
1313 /// URL type, refer to the Types
1315 public const uint Type = (uint)PropertyIds.UrlType;
1317 /// Custom URL type label, when the URL type is Types.Custom
1319 public const uint Label = (uint)PropertyIds.UrlLabel;
1323 public const uint UrlData = (uint)PropertyIds.UrlUrl;
1326 /// Enumeration for Contact URL type.
1350 /// Describes properies of a Event record.
1352 public static class Event
1355 /// Identifier of this contacts event view
1357 public const string Uri = "tizen.contacts_view.event";
1359 /// DB record ID of the event
1361 public const uint Id = (uint)PropertyIds.EventId;
1363 /// Contact ID that the event belongs to
1365 public const uint ContactId = (uint)PropertyIds.EventContactId;
1367 /// Event type, refer to the Types
1369 public const uint Type = (uint)PropertyIds.EventType;
1371 /// Custom event type label, when the event type is Types.Custom
1373 public const uint Label = (uint)PropertyIds.EventLabel;
1375 /// Event date(YYYYMMDD). e.g. 2014/1/1 : 20140101. Even if the calendar_type is set as CONTACTS_EVENT_CALENDAR_TYPE_CHINESE, you SHOULD set Gregorian date
1377 public const uint Date = (uint)PropertyIds.EventDate;
1379 /// Calendar type, refer to the CalendarTypes
1381 public const uint IsLeapMonth = (uint)PropertyIds.EventIsLeapMonth;
1384 /// Enumeration for Contact event type.
1389 /// Other event type
1393 /// Custom event type
1397 /// Birthday event type
1401 /// Anniversary event type
1407 /// Enumeration for Contact event calendar type.
1409 public enum CalendarTypes
1412 /// Gregorian calendar
1416 /// Chinese calenadr
1423 /// Describes properies of a Relationship record.
1425 public static class Relationship
1428 /// Identifier of this relationship view
1430 public const string Uri = "tizen.contacts_view.relationship";
1432 /// DB record ID of the relationship
1434 public const uint Id = (uint)PropertyIds.RelationshipId;
1436 /// Contact ID that the relationship belongs to
1438 public const uint ContactId = (uint)PropertyIds.RelationshipContactId;
1440 /// Relationship type, refer to the Types
1442 public const uint Type = (uint)PropertyIds.RelationshipType;
1444 /// Custom relationship type label, when the relationship type is Types.Custom
1446 public const uint Label = (uint)PropertyIds.RelationshipLabel;
1448 /// Selected contact name that the relationship belongs to
1450 public const uint Name = (uint)PropertyIds.RelationshipName;
1453 /// Enumeration for Contact relationship type.
1458 /// Other relationship type
1474 /// Domestic Partner type
1502 /// Referred by type
1525 /// Describes properies of a Image record.
1527 public static class Image
1530 /// Identifier of this contacts image view
1532 public const string Uri = "tizen.contacts_view.image";
1534 /// DB record ID of the image
1536 public const uint Id = (uint)PropertyIds.ImageId;
1538 /// Contact ID that the image belongs to
1540 public const uint ContactId = (uint)PropertyIds.ImageContactId;
1542 /// Image type, refer to the Types
1544 public const uint Type = (uint)PropertyIds.ImageType;
1546 /// Custom image type label, when the image type is Types.Custom
1548 public const uint Label = (uint)PropertyIds.ImageLabel;
1550 /// Image thumbnail path
1552 public const uint Path = (uint)PropertyIds.ImagePath;
1554 /// The Image is default or not
1556 public const uint IsDefault = (uint)PropertyIds.ImageIsDefault;
1559 /// Enumeration for Contact image type.
1575 /// Describes properies of a Company record.
1577 public static class Company
1580 /// Identifier of this contacts company view
1582 public const string Uri = "tizen.contacts_view.company";
1584 /// DB record ID of the company
1586 public const uint Id = (uint)PropertyIds.CompanyId;
1588 /// Contact ID that the company belongs to
1590 public const uint ContactId = (uint)PropertyIds.CompanyContactId;
1592 /// Company type, refer to the Types
1594 public const uint Type = (uint)PropertyIds.CompanyType;
1596 /// Custom company type label, when the company type is Types.Custom
1598 public const uint Label = (uint)PropertyIds.CompanyLabel;
1602 public const uint Name = (uint)PropertyIds.CompanyName;
1606 public const uint Department = (uint)PropertyIds.CompanyDepartment;
1610 public const uint JobTitle = (uint)PropertyIds.CompanyJobTitle;
1614 public const uint AssistantName = (uint)PropertyIds.CompanyAssistantName;
1618 public const uint Role = (uint)PropertyIds.CompanyRole;
1620 /// Company logo image file path
1622 public const uint Logo = (uint)PropertyIds.CompanyLogo;
1624 /// Company location
1626 public const uint Location = (uint)PropertyIds.CompanyLocation;
1630 public const uint Description = (uint)PropertyIds.CompanyDescription;
1632 /// Pronounce the company name
1634 public const uint PhoneticName = (uint)PropertyIds.CompanyPhoneticName;
1637 /// Enumeration for Contact company type.
1641 Other = 0, /**< Other company type */
1642 Custom = 1 << 0, /**< Custom company type */
1643 Work = 1 << 1, /**< Work company type */
1648 /// Describes properies of a Nickname record.
1650 public static class Nickname
1653 /// Identifier of this contacts nickname view
1655 public const string Uri = "tizen.contacts_view.nickname";
1657 /// DB record ID of the nickname
1659 public const uint Id = (uint)PropertyIds.NicknameId;
1661 /// Contact ID that the nickname belongs to
1663 public const uint ContactId = (uint)PropertyIds.NicknameContactId;
1667 public const uint Name = (uint)PropertyIds.NicknameName;
1671 /// Describes properies of a Messenger record.
1673 public static class Messenger
1676 /// Identifier of this contacts messenger view
1678 public const string Uri = "tizen.contacts_view.messenger";
1680 /// DB record ID of the messenger
1682 public const uint Id = (uint)PropertyIds.MessengerId;
1684 /// Contact ID that the messenger belongs to
1686 public const uint ContactId = (uint)PropertyIds.MessengerContactId;
1688 /// Messenger type, refer to the Types
1690 public const uint Type = (uint)PropertyIds.MessengerType;
1692 /// Custom messenger type label, when the messenger type is Types.Custom
1694 public const uint Label = (uint)PropertyIds.MessengerLabel;
1696 /// Messenger ID (email address or email ID...)
1698 public const uint IMId = (uint)PropertyIds.MessengerIMId;
1701 /// Enumeration for Contact messenger type.
1706 /// Other messenger type
1710 /// Custom messenger type
1714 /// Google messenger type
1718 /// Windows live messenger type
1722 /// Yahoo messenger type
1726 /// Facebook messenger type
1734 /// AOL instance messenger type
1757 /// Describes properies of a Profile record.
1759 public static class Profile
1762 /// Identifier of this contacts profile view
1764 public const string Uri = "tizen.contacts_view.profile";
1766 /// DB record ID of profile
1768 public const uint Id = (uint)PropertyIds.ProfileId;
1770 /// Contacts ID that the profile belongs to
1772 public const uint ContactId = (uint)PropertyIds.ProfileContactId;
1774 /// Unique identifier
1776 public const uint Uid = (uint)PropertyIds.ProfileUid;
1778 /// Profile contents
1780 public const uint Text = (uint)PropertyIds.ProfileText;
1782 /// Priority to display the profile
1784 public const uint Order = (uint)PropertyIds.ProfileOrder;
1786 /// Data for app_control_set_operation
1788 public const uint ServiceOperation = (uint)PropertyIds.ProfileServiceOperation;
1790 /// Data for app_control_set_mime
1792 public const uint Mime = (uint)PropertyIds.ProfileMIME;
1794 /// Data for app_control_set_app_id
1796 public const uint AppId = (uint)PropertyIds.ProfileAppId;
1798 /// Data for app_control_set_uri
1800 public const uint ProfileUri = (uint)PropertyIds.ProfileUri;
1802 /// Data for app_control_set_category
1804 public const uint Category = (uint)PropertyIds.ProfileCategory;
1806 /// It includes "key:value,key:value," pairs. You should parse it. And you must base64 encode each key and value
1808 public const uint ExtraData = (uint)PropertyIds.ProfileExtraData;
1812 /// Describes properies of a Sip record.
1814 public static class Sip
1817 /// Identifier of this contacts sip view
1819 public const string Uri = "tizen.contacts_view.sip";
1821 /// DB record ID of the sip
1823 public const uint Id = (uint)PropertyIds.SipId;
1825 /// Contact ID that the sip belongs to
1827 public const uint ContactId = (uint)PropertyIds.SipContactId;
1831 public const uint Address = (uint)PropertyIds.SipAddress;
1833 /// sip type, refer to the Types
1835 public const uint Type = (uint)PropertyIds.SipType;
1837 /// Custom sip type label, when the sip type is Types.Custom
1839 public const uint Label = (uint)PropertyIds.SipLabel;
1842 /// Enumeration for Contact SIP type.
1866 /// Describes properies of a Extension record.
1868 public static class Extension
1871 /// Identifier of this contacts extension view
1873 public const string Uri = "tizen.contacts_view.extension";
1875 /// DB record ID of the contact extension
1877 public const uint Id = (uint)PropertyIds.ExtensionId;
1879 /// Contact ID that the contact extension belongs to
1881 public const uint ContactId = (uint)PropertyIds.ExtensionContactId;
1883 /// The extra child record format for non-provided from contacts-service
1885 public const uint Data1 = (uint)PropertyIds.ExtensionData1;
1887 /// The extra child record format for non-provided from contacts-service
1889 public const uint Data2 = (uint)PropertyIds.ExtensionData2;
1891 /// The extra child record format for non-provided from contacts-service
1893 public const uint Data3 = (uint)PropertyIds.ExtensionData3;
1895 /// The extra child record format for non-provided from contacts-service
1897 public const uint Data4 = (uint)PropertyIds.ExtensionData4;
1899 /// The extra child record format for non-provided from contacts-service
1901 public const uint Data5 = (uint)PropertyIds.ExtensionData5;
1903 /// The extra child record format for non-provided from contacts-service
1905 public const uint Data6 = (uint)PropertyIds.ExtensionData6;
1907 /// The extra child record format for non-provided from contacts-service
1909 public const uint Data7 = (uint)PropertyIds.ExtensionData7;
1911 /// The extra child record format for non-provided from contacts-service
1913 public const uint Data8 = (uint)PropertyIds.ExtensionData8;
1915 /// The extra child record format for non-provided from contacts-service
1917 public const uint Data9 = (uint)PropertyIds.ExtensionData9;
1919 /// The extra child record format for non-provided from contacts-service
1921 public const uint Data10 = (uint)PropertyIds.ExtensionData10;
1923 /// The extra child record format for non-provided from contacts-service
1925 public const uint Data11 = (uint)PropertyIds.ExtensionData11;
1927 /// The extra child record format for non-provided from contacts-service
1929 public const uint Data12 = (uint)PropertyIds.ExtensionData12;
1933 /// Describes properies of a Group relation record.
1935 public static class GroupRelation
1938 /// Identifier of this relationship view
1940 public const string Uri = "tizen.contacts_view.group_relation";
1942 /// DB record ID of the group relation (can not be used as filter)
1944 public const uint Id = (uint)PropertyIds.GroupRelationId;
1946 /// DB record ID of the group
1948 public const uint GroupId = (uint)PropertyIds.GroupRelationGroupId;
1950 /// DB record ID of the contact
1952 public const uint ContactId = (uint)PropertyIds.GroupRelationContactId;
1956 public const uint Name = (uint)PropertyIds.GroupRelationGroupName;
1960 /// Describes properies of a Speed dial record.
1962 public static class SpeedDial
1965 /// Identifier of this contact speed dial view
1967 public const string Uri = "tizen.contacts_view.speeddial";
1969 /// Stored speed dial number
1971 public const uint SpeedDialNumber = (uint)PropertyIds.SpeedDialDialNumber;
1973 /// Number ID that the speed dial belongs to
1975 public const uint NumberId = (uint)PropertyIds.SpeedDialNumberId;
1977 /// Contact number of specified speed dial
1979 public const uint Number = (uint)PropertyIds.SpeedDialNumber;
1981 /// Contact number label of specified speed dial, when the number type is Number.Types.Custom
1983 public const uint NumberLabel = (uint)PropertyIds.SpeedDialNumberLabel;
1985 /// Contact number type, refer to the Number.Types
1987 public const uint NumberType = (uint)PropertyIds.SpeedDialNumberType;
1989 /// Person ID that the speed dial belongs to
1991 public const uint PersonId = (uint)PropertyIds.SpeedDialPersonId;
1993 /// Display name that the speed dial belongs to
1995 public const uint DisplayName = (uint)PropertyIds.SpeedDialDisplayName;
1997 /// Image thumbnail path that the speed dial belongs to
1999 public const uint ThumbnailPath = (uint)PropertyIds.SpeedDialThumbnail;
2001 /// You can only use this property for search filter
2003 public const uint NormalizedNumber = (uint)PropertyIds.SpeedDialNormalizedNumber;
2005 /// You can only use this property for search filter
2007 public const uint CleanedNumber = (uint)PropertyIds.SpeedDialCleanedNumber;
2009 /// If you add filter with this property, the string will be normalized as minmatch length internally and the match rule will be applied ContactsFilter.StringMatchType.Exactly
2011 public const uint NumberFilter = (uint)PropertyIds.SpeedDialNumberFilter;
2015 /// Describes properies of a Phone log record.
2017 public static class PhoneLog
2020 /// Identifier of this phone log view
2022 public const string Uri = "tizen.contacts_view.phonelog";
2024 /// DB record ID of phone log
2026 public const uint Id = (uint)PropertyIds.PhonelogId;
2028 /// Person ID that the phone log belongs to
2030 public const uint PersonId = (uint)PropertyIds.PhonelogPersonId;
2032 /// Number or Email that the phone log displays
2034 public const uint Address = (uint)PropertyIds.PhonelogAddress;
2036 /// Call end time. The value means number of seconds since 1970-01-01 00:00:00 (UTC)
2038 public const uint LogTime = (uint)PropertyIds.PhonelogLogTime;
2040 /// Log type, refer to the Types
2042 public const uint LogType = (uint)PropertyIds.PhonelogLogType;
2044 /// You can set the related integer data (e.g. message_id, email_id or duration(seconds) of call)
2046 public const uint ExtraData1 = (uint)PropertyIds.PhonelogExtraData1;
2048 /// You can set the related string data (e.g. short message, subject)
2050 public const uint ExtraData2 = (uint)PropertyIds.PhonelogExtraData2;
2052 /// You can only use this property for search filter
2054 public const uint NormalizedAddress = (uint)PropertyIds.PhonelogNormalizedAddress;
2056 /// You can only use this property for search filter
2058 public const uint CleanedAddress = (uint)PropertyIds.PhonelogCleanedAddress;
2060 /// You can only use this property for search filter
2062 public const uint AddressFilter = (uint)PropertyIds.PhonelogAddressFilter;
2064 /// You can set the related SIM slot number. sim_slot_no 0 means first SIM card, sim_slot_no 1 means second SIM. It is same with handle index of telephony handle list. Refer to the telephony_init()
2066 public const uint SimSlotNo = (uint)PropertyIds.PhonelogSIMSlotNo;
2069 /// Enumeration for Phone log type.
2086 /// Incoming video call
2090 /// Outgoing video call
2094 /// Not confirmed missed call
2096 VoiceMissedUnseen = 5,
2098 /// Confirmed missed call
2100 VoiceMissedSeen = 6,
2102 /// Not confirmed missed video call
2104 VideoMissedUnseen = 7,
2106 /// Confirmed missed video call
2108 VidoeMissedSeen = 8,
2114 /// Rejected video call
2122 /// Blocked video call
2152 EmailReceived = 201,
2162 /// Describes properies of a Contact updated information record.
2164 /// <remarks>Read only view</remarks>
2165 public static class ContactUpdatedInfo
2168 /// Identifier of this contact updated info view
2170 public const string Uri = "tizen.contacts_view.contacts_updated_info";
2172 /// Updated contact ID
2174 public const uint ContactId = (uint)PropertyIds.UpdateInfoId;
2176 /// Addressbook ID that the updated contact belongs to
2178 public const uint AddressbookId = (uint)PropertyIds.UpdateInfoAddressbookId;
2180 /// Contact change type, refer to the ContactsViews.ChangeTypes
2182 public const uint Type = (uint)PropertyIds.UpdateInfoType;
2186 public const uint Version = (uint)PropertyIds.UpdateInfoVersion;
2188 /// Contact image is changed or not
2190 public const uint ImageChanged = (uint)PropertyIds.UpdateInfoImageChanged;
2194 /// Describes properies of a My profile updated information record.
2196 /// <remarks>Read only view</remarks>
2197 public static class MyProfileUpdatedInfo
2200 /// Identifier of this my profile updated info view
2202 public const string Uri = "tizen.contacts_view.my_profile_updated_info";
2204 /// Address book ID that the updated my profile belongs to
2206 public const uint AddressbookId = (uint)PropertyIds.UpdateInfoAddressbookId;
2208 /// MyProfile change type, refer to the ContactsViews.ChangeTypes
2210 public const uint LastChangedType = (uint)PropertyIds.UpdateInfoLastChangedType;
2214 public const uint Version = (uint)PropertyIds.UpdateInfoVersion;
2218 /// Describes properies of a Group updated information record.
2220 /// <remarks>Read only view</remarks>
2221 public static class GroupUpdatedInfo
2224 /// Identifier of this group updated info view
2226 public const string Uri = "tizen.contacts_view.groups_updated_info";
2228 /// Updated group ID
2230 public const uint GroupId = (uint)PropertyIds.UpdateInfoId;
2232 /// Address book ID that the updated group belongs to
2234 public const uint AddressbookId = (uint)PropertyIds.UpdateInfoAddressbookId;
2236 /// Group change type, refer to the ContactsViews.ChangeTypes
2238 public const uint Type = (uint)PropertyIds.UpdateInfoType;
2242 public const uint Version = (uint)PropertyIds.UpdateInfoVersion;
2246 /// Describes properies of a Group Member updated information record.
2248 /// <remarks>Read only view</remarks>
2249 public static class GroupMemberUpdatedInfo
2252 /// Identifier of this group member updated info view
2254 public const string Uri = "tizen.contacts_view.groups_member_updated_info";
2256 /// Updated group ID
2258 public const uint GroupId = (uint)PropertyIds.UpdateInfoId;
2260 /// Address book ID that the updated group belongs to
2262 public const uint AddressbookId = (uint)PropertyIds.UpdateInfoAddressbookId;
2266 public const uint Version = (uint)PropertyIds.UpdateInfoVersion;
2270 /// Describes properies of a Relation updated information record.
2272 /// <remarks>Read only view</remarks>
2273 public static class GroupRelationUpdatedInfo
2276 /// Identifier of this group relation updated info view
2278 public const string Uri = "tizen.contacts_view.group_relations_updated_info";
2280 /// Group ID of group relation
2282 public const uint GroupId = (uint)PropertyIds.GroupId;
2284 /// Contact ID of the updated group relation
2286 public const uint ContactId = (uint)PropertyIds.ContactId;
2288 /// Address book ID of contact that the updated group relation
2290 public const uint AddressbookId = (uint)PropertyIds.AddressbookId;
2292 /// Group relation change type, refer to the ContactsViews.ChangeTypes
2294 public const uint Type = (uint)PropertyIds.UpdateInfoType;
2298 public const uint Version = (uint)PropertyIds.UpdateInfoVersion;
2302 /// Describes properies of a Person & Contact record.
2304 /// <remarks>Read only view</remarks>
2305 public static class PersonContact
2308 /// Identifier of this person contact view
2310 public const string Uri = "tizen.contacts_view.person/simple_contact";
2312 /// DB record ID of the person
2314 public const uint PersonId = (uint)PropertyIds.PersonId;
2316 /// Display name of the person
2318 public const uint DisplayName = (uint)PropertyIds.PersonDisplayName;
2320 /// The first character of first string for grouping. This is normalized using icu (projection)
2322 public const uint DisplayNameIndex = (uint)PropertyIds.PersonDisplayNameIndex;
2324 /// Display contact ID that the person belongs to (projection)
2326 public const uint DisplayContactId = (uint)PropertyIds.PersonDisplayContactId;
2328 /// Ringtone path of the person (projection)
2330 public const uint RingtonePath = (uint)PropertyIds.PersonRingtone;
2332 /// Image thumbnail path of the person (projection)
2334 public const uint ThumbnailPath = (uint)PropertyIds.PersonThumbnail;
2336 /// Vibration path of the person (projection)
2338 public const uint Vibration = (uint)PropertyIds.PersonVibration;
2340 /// Message alert path of the person (projection)
2342 public const uint MessageAlert = (uint)PropertyIds.PersonMessageAlert;
2344 /// Status of social account (projection)
2346 public const uint Status = (uint)PropertyIds.PersonStatus;
2348 /// The person is favorite or not
2350 public const uint IsFavorite = (uint)PropertyIds.PersonIsFavorite;
2352 /// Link count of contact records (projection)
2354 public const uint LinkCount = (uint)PropertyIds.PersonLinkCount;
2356 /// Contact ID that the person belongs to
2358 public const uint ContactId = (uint)PropertyIds.ContactId;
2360 /// Addressbook IDs that the person belongs to (projection)
2362 public const uint AddressbookIds = (uint)PropertyIds.PersonAddressbookIds;
2364 /// The person has phone number or not
2366 public const uint HasPhoneNumber = (uint)PropertyIds.PersonHasPhoneNumber;
2368 /// The person has email or not
2370 public const uint HasEmail = (uint)PropertyIds.PersonHasEmail;
2372 /// Addressbook ID that the person belongs to
2374 public const uint AddressbookId = (uint)PropertyIds.ContactAddressbookId;
2376 /// Addressbook mode, refer to the Addressbook.Modes
2378 public const uint AddressbookMode = (uint)PropertyIds.AddressbookMode;
2380 /// Addressbook name that the person belongs to
2382 public const uint AddressbookName = (uint)PropertyIds.AddressbookName;
2384 /// kerword matched data type, refer to the Contact.DataTypes
2386 public const uint SnippetType = (uint)PropertyIds.PersonSnippetType;
2388 /// keyword matched data string
2390 public const uint SnippetString = (uint)PropertyIds.PersonSnippetString;
2394 /// Describes properies of a Person & Number record.
2396 /// <remarks>Read only view</remarks>
2397 public static class PersonNumber
2400 /// Identifier of this person number view
2402 public const string Uri = "tizen.contacts_view.person/simple_contact/number";
2404 /// DB record ID of the person
2406 public const uint PersonId = (uint)PropertyIds.PersonId;
2408 /// Display name of the person
2410 public const uint DisplayName = (uint)PropertyIds.PersonDisplayName;
2412 /// The first character of first string for grouping. This is normalized using icu (projection)
2414 public const uint DisplayNameIndex = (uint)PropertyIds.PersonDisplayNameIndex;
2416 /// Display contact ID that the person belongs to (projection)
2418 public const uint DisplayContactId = (uint)PropertyIds.PersonDisplayContactId;
2420 /// Ringtone path of the person (projection)
2422 public const uint RingtonePath = (uint)PropertyIds.PersonRingtone;
2424 /// Image thumbnail path of the person (projection)
2426 public const uint ThumbnailPath = (uint)PropertyIds.PersonThumbnail;
2428 /// Vibration path of the person (projection)
2430 public const uint Vibration = (uint)PropertyIds.PersonVibration;
2432 /// Message alert path of the person (projection)
2434 public const uint MessageAlert = (uint)PropertyIds.PersonMessageAlert;
2436 /// The person is favorite or not
2438 public const uint IsFavorite = (uint)PropertyIds.PersonIsFavorite;
2440 /// The person has phone number or not
2442 public const uint HasPhoneNumber = (uint)PropertyIds.PersonHasPhoneNumber;
2444 /// The person has email or not
2446 public const uint HasEmail = (uint)PropertyIds.PersonHasEmail;
2448 /// Number ID that the person belongs to
2450 public const uint NumberId = (uint)PropertyIds.NumberId;
2452 /// Number type, refer to the Number.Types (projection)
2454 public const uint Type = (uint)PropertyIds.NumberType;
2456 /// Custom number type label, when the number type is Number.Types.Custom (projection)
2458 public const uint Label = (uint)PropertyIds.NumberLabel;
2460 /// The number is default number or not
2462 public const uint IsPrimaryDefault = (uint)PropertyIds.DataIsPrimaryDefault;
2466 public const uint Number = (uint)PropertyIds.NumberNumber;
2468 /// If you add filter with this property, the string will be normalized as minmatch length internally and the match rule will be applied ContactsFilter.StringMatchType.Exactly.
2470 public const uint NumberFilter = (uint)PropertyIds.NumberNumberFilter;
2472 /// You can only use this property for search filter
2474 public const uint NormalizedNumber = (uint)PropertyIds.NumberNormalizedNumber;
2476 /// You can only use this property for search filter
2478 public const uint CleanedNumber = (uint)PropertyIds.NumberCleanedNumber;
2480 /// kerword matched data type, refer to they Contact.DataTypes
2482 public const uint SnippetType = (uint)PropertyIds.PersonSnippetType;
2484 /// keyword matched data string
2486 public const uint SnippetString = (uint)PropertyIds.PersonSnippetString;
2490 /// Describes properies of a Person & Email record.
2492 /// <remarks>Read only view</remarks>
2493 public static class PersonEmail
2496 /// Identifier of this person email view
2498 public const string Uri = "tizen.contacts_view.person/simple_contact/email";
2500 /// DB record ID of the person
2502 public const uint PersonId = (uint)PropertyIds.PersonId;
2504 /// Display name of the person
2506 public const uint DisplayName = (uint)PropertyIds.PersonDisplayName;
2508 /// The first character of first string for grouping. This is normalized using icu (projection)
2510 public const uint DisplayNameIndex = (uint)PropertyIds.PersonDisplayNameIndex;
2512 /// Display contact ID that the person belongs to (projection)
2514 public const uint DisplayContactId = (uint)PropertyIds.PersonDisplayContactId;
2516 /// Ringtone path of the person (projection)
2518 public const uint RingtonePath = (uint)PropertyIds.PersonRingtone;
2520 /// Image thumbnail path of the person (projection)
2522 public const uint ThumbnailPath = (uint)PropertyIds.PersonThumbnail;
2524 /// Vibration path of the person (projection)
2526 public const uint Vibration = (uint)PropertyIds.PersonVibration;
2528 /// Message alert path of the person (projection)
2530 public const uint MessageAlert = (uint)PropertyIds.PersonMessageAlert;
2532 /// The person is favorite or not
2534 public const uint IsFavorite = (uint)PropertyIds.PersonIsFavorite;
2536 /// The person has phone number or not
2538 public const uint HasPhoneNumber = (uint)PropertyIds.PersonHasPhoneNumber;
2540 /// The person has email or not
2542 public const uint HasEmail = (uint)PropertyIds.PersonHasEmail;
2544 /// Email ID that the person belongs to
2546 public const uint EmailId = (uint)PropertyIds.EmailId;
2548 /// Email type, refer to the Email.Types (projection)
2550 public const uint Type = (uint)PropertyIds.EmailType;
2552 /// Custom mail type label, when the email type is Email.Types.Custom (projection)
2554 public const uint Label = (uint)PropertyIds.EmailLabel;
2556 /// The email is default email or not
2558 public const uint IsPrimaryDefault = (uint)PropertyIds.DataIsPrimaryDefault;
2562 public const uint Email = (uint)PropertyIds.EmailEmail;
2564 /// kerword matched data type, refer to they Contact.DataTypes
2566 public const uint SnippetType = (uint)PropertyIds.PersonSnippetType;
2568 /// keyword matched data string
2570 public const uint SnippetString = (uint)PropertyIds.PersonSnippetString;
2574 /// Describes properies of a Person & Group Relation record.
2576 /// <remarks>Read only view</remarks>
2577 public static class PersonGroupRelation
2580 /// Identifier of this person group relation view
2582 public const string Uri = "tizen.contacts_view.person/simple_contact/group";
2584 /// DB record ID of the person
2586 public const uint PersonId = (uint)PropertyIds.PersonId;
2588 /// Display name of the person
2590 public const uint DisplayName = (uint)PropertyIds.PersonDisplayName;
2592 /// The first character of first string for grouping. This is normalized using icu (projection)
2594 public const uint DisplayNameIndex = (uint)PropertyIds.PersonDisplayNameIndex;
2596 /// Display contact ID that the person belongs to (projection)
2598 public const uint DisplayContactId = (uint)PropertyIds.PersonDisplayContactId;
2600 /// Ringtone path of the person (projection)
2602 public const uint RingtonePath = (uint)PropertyIds.PersonRingtone;
2604 /// Image thumbnail path of the person (projection)
2606 public const uint ThumbnailPath = (uint)PropertyIds.PersonThumbnail;
2608 /// Vibration path of the person (projection)
2610 public const uint Vibration = (uint)PropertyIds.PersonVibration;
2612 /// Message alert path of the person (projection)
2614 public const uint MessageAlert = (uint)PropertyIds.PersonMessageAlert;
2616 /// Status of social account (projection)
2618 public const uint Status = (uint)PropertyIds.PersonStatus;
2620 /// The person is favorite or not
2622 public const uint IsFavorite = (uint)PropertyIds.PersonIsFavorite;
2624 /// The person has phone number or not
2626 public const uint HasPhoneNumber = (uint)PropertyIds.PersonHasPhoneNumber;
2628 /// The person has email or not
2630 public const uint HasEmail = (uint)PropertyIds.PersonHasEmail;
2632 /// Link count of contat records (projection)
2634 public const uint LinkCount = (uint)PropertyIds.PersonLinkCount;
2636 /// Addressbook IDs that the person belongs to (projection)
2638 public const uint AddressbookIds = (uint)PropertyIds.PersonAddressbookIds;
2640 /// Addressbook ID that the person belongs to
2642 public const uint AddressbookId = (uint)PropertyIds.ContactAddressbookId;
2644 /// Addressbook name that the person belongs to
2646 public const uint AddressbookName = (uint)PropertyIds.AddressbookName;
2648 /// Addressbook mode, refer to the Addressbook.Modes
2650 public const uint AddressbookMode = (uint)PropertyIds.AddressbookMode;
2652 /// Group ID that the person belongs to
2654 public const uint GroupId = (uint)PropertyIds.GroupRelationGroupId;
2656 /// Contact ID that the person belongs to (projection)
2658 public const uint ContactId = (uint)PropertyIds.GroupRelationContactId;
2660 /// kerword matched data type, refer to they Contact.DataTypes
2662 public const uint SnippetType = (uint)PropertyIds.PersonSnippetType;
2664 /// keyword matched data string
2666 public const uint SnippetString = (uint)PropertyIds.PersonSnippetString;
2670 /// Describes properies of a Person & Group Assigned record.
2672 /// <remarks>Read only view</remarks>
2673 public static class PersonGroupAssigned
2676 /// Identifier of this person group assigned view
2678 public const string Uri = "tizen.contacts_view.person/simple_contact/group_assigned";
2680 /// DB record ID of the person
2682 public const uint PersonId = (uint)PropertyIds.PersonId;
2684 /// Display name of the person
2686 public const uint DisplayName = (uint)PropertyIds.PersonDisplayName;
2688 /// The first character of first string for grouping. This is normalized using icu (projection)
2690 public const uint DisplayNameIndex = (uint)PropertyIds.PersonDisplayNameIndex;
2692 /// Display contact ID that the person belongs to (projection)
2694 public const uint DisplayContactId = (uint)PropertyIds.PersonDisplayContactId;
2696 /// Ringtone path of the person (projection)
2698 public const uint RingtonePath = (uint)PropertyIds.PersonRingtone;
2700 /// Image thumbnail path of the person (projection)
2702 public const uint ThumbnailPath = (uint)PropertyIds.PersonThumbnail;
2704 /// Vibration path of the person (projection)
2706 public const uint Vibration = (uint)PropertyIds.PersonVibration;
2708 /// Message alert path of the person (projection)
2710 public const uint MessageAlert = (uint)PropertyIds.PersonMessageAlert;
2712 /// Status of social account (projection)
2714 public const uint Status = (uint)PropertyIds.PersonStatus;
2716 /// The person is favorite or not
2718 public const uint IsFavorite = (uint)PropertyIds.PersonIsFavorite;
2720 /// The person has phone number or not
2722 public const uint HasPhoneNumber = (uint)PropertyIds.PersonHasPhoneNumber;
2724 /// The person has email or not
2726 public const uint HasEmail = (uint)PropertyIds.PersonHasEmail;
2728 /// Link count of contact records (projection)
2730 public const uint LinkCount = (uint)PropertyIds.PersonLinkCount;
2732 /// Addressbook IDs that the linked person belongs to (projection)
2734 public const uint AddressbookIds = (uint)PropertyIds.PersonAddressbookIds;
2736 /// Addressbook ID that the person belongs to
2738 public const uint AddressbookId = (uint)PropertyIds.ContactAddressbookId;
2740 /// Addressbook mode, refer to the Addressbook.Modes
2742 public const uint AddressbookMode = (uint)PropertyIds.AddressbookMode;
2744 /// Group ID that the person belongs to
2746 public const uint GroupId = (uint)PropertyIds.GroupRelationGroupId;
2748 /// Contact ID that the person belongs to (projection)
2750 public const uint ContactId = (uint)PropertyIds.GroupRelationContactId;
2752 /// kerword matched data type, refer to they Contact.DataTypes
2754 public const uint SnippetType = (uint)PropertyIds.PersonSnippetType;
2756 /// keyword matched data string
2758 public const uint SnippetString = (uint)PropertyIds.PersonSnippetString;
2762 /// Describes properies of a Person & Group Not Assigned record.
2764 /// <remarks>Read only view</remarks>
2765 public static class PersonGroupNotAssigned
2768 /// Identifier of this person group not assigned view
2770 public const string Uri = "tizen.contacts_view.person/simple_contact/group_not_assigned";
2772 /// DB record ID of the person
2774 public const uint PersonId = (uint)PropertyIds.PersonId;
2776 /// Display name of the person
2778 public const uint DisplayName = (uint)PropertyIds.PersonDisplayName;
2780 /// The first character of first string for grouping. This is normalized using icu (projection)
2782 public const uint DisplayNameIndex = (uint)PropertyIds.PersonDisplayNameIndex;
2784 /// Display contact ID that the person belongs to (projection)
2786 public const uint DisplayContactId = (uint)PropertyIds.PersonDisplayContactId;
2788 /// Ringtone path of the person (projection)
2790 public const uint RingtonePath = (uint)PropertyIds.PersonRingtone;
2792 /// Image thumbnail path of the person (projection)
2794 public const uint ThumbnailPath = (uint)PropertyIds.PersonThumbnail;
2796 /// Vibration path of the person (projection)
2798 public const uint Vibration = (uint)PropertyIds.PersonVibration;
2800 /// Message alert path of the person (projection)
2802 public const uint MessageAlert = (uint)PropertyIds.PersonMessageAlert;
2804 /// Status of social account (projection)
2806 public const uint Status = (uint)PropertyIds.PersonStatus;
2808 /// The person is favorite or not
2810 public const uint IsFavorite = (uint)PropertyIds.PersonIsFavorite;
2812 /// The person has phone number or not
2814 public const uint HasPhoneNumber = (uint)PropertyIds.PersonHasPhoneNumber;
2816 /// The person has email or not
2818 public const uint HasEmail = (uint)PropertyIds.PersonHasEmail;
2820 /// Link count of contact records (projection)
2822 public const uint LinkCount = (uint)PropertyIds.PersonLinkCount;
2824 /// Addressbook IDs that the linked person belongs to (projection)
2826 public const uint AddressbookIds = (uint)PropertyIds.PersonAddressbookIds;
2828 /// Addressbook ID that the person belongs to
2830 public const uint AddressbookId = (uint)PropertyIds.ContactAddressbookId;
2832 /// Addressbook mode, refer to the Addressbook.Modes
2834 public const uint AddressbookMode = (uint)PropertyIds.AddressbookMode;
2836 /// Contact ID that the person belongs to (projection)
2838 public const uint ContactId = (uint)PropertyIds.ContactId;
2840 /// kerword matched data type, refer to they Contact.DataTypes
2842 public const uint SnippetType = (uint)PropertyIds.PersonSnippetType;
2844 /// keyword matched data string
2846 public const uint SnippetString = (uint)PropertyIds.PersonSnippetString;
2850 /// Describes properies of a Person & Phone Log record.
2852 /// <remarks>Read only view</remarks>
2853 public static class PersonPhonelog
2856 /// Identifier of this phone log view
2858 public const string Uri = "tizen.contacts_view.person/simple_contact/phonelog";
2860 /// DB record ID of the person
2862 public const uint PersonId = (uint)PropertyIds.PersonId;
2864 /// Display name of the person
2866 public const uint DisplayName = (uint)PropertyIds.PersonDisplayName;
2868 /// Image thumbnail path of the person (projection)
2870 public const uint ThumbnailPath = (uint)PropertyIds.PersonThumbnail;
2872 /// DB record ID of phone log
2874 public const uint LogId = (uint)PropertyIds.PhonelogId;
2876 /// Number or Email that the phone log displays
2878 public const uint Address = (uint)PropertyIds.PhonelogAddress;
2880 /// Number or Email type (projection)
2882 public const uint AddressType = (uint)PropertyIds.DataData1;
2884 /// Call end time. The value means number of seconds since 1970-01-01 00:00:00 (UTC)
2886 public const uint LogTime = (uint)PropertyIds.PhonelogLogTime;
2888 /// Log type, refer to the PhoneLog.Types
2890 public const uint LogType = (uint)PropertyIds.PhonelogLogType;
2892 /// You can set the related integer data (e.g. message_id, email_id or duration(seconds) of call) (projection)
2894 public const uint ExtraData1 = (uint)PropertyIds.PhonelogExtraData1;
2896 /// You can set the related string data (e.g. short message, subject) (projection)
2898 public const uint ExtraData2 = (uint)PropertyIds.PhonelogExtraData2;
2900 /// You can only use this property for search filter
2902 public const uint NormalizedAddress = (uint)PropertyIds.PhonelogNormalizedAddress;
2904 /// You can only use this property for search filter
2906 public const uint CleanedAddress = (uint)PropertyIds.PhonelogCleanedAddress;
2908 /// You can only use this property for search filter
2910 public const uint AddressFilter = (uint)PropertyIds.PhonelogAddressFilter;
2912 /// It is related to the SIM slot number. sim_slot_no 0 means first SIM card, sim_slot_no 1 means second SIM. It is same with handle index of telephony handle list. Refer to the telephony_init()
2914 public const uint SIMSlotNo = (uint)PropertyIds.PhonelogSIMSlotNo;
2918 /// Describes properies of a Person Usage record.
2920 /// <remarks>Read only view</remarks>
2921 public static class PersonUsage
2924 /// Identifier of this person usage view
2926 public const string Uri = "tizen.contacts_view.person/usag";
2928 /// DB record ID of the person
2930 public const uint PersonId = (uint)PropertyIds.PersonId;
2932 /// Display name of the person
2934 public const uint DisplayName = (uint)PropertyIds.PersonDisplayName;
2936 /// The first character of first string for grouping. This is normalized using icu (projection)
2938 public const uint DisplayNameIndex = (uint)PropertyIds.PersonDisplayNameIndex;
2940 /// Display contact ID that the person belongs to (projection)
2942 public const uint DisplayContactId = (uint)PropertyIds.PersonDisplayContactId;
2944 /// Ringtone path of the person (projection)
2946 public const uint RingtonePath = (uint)PropertyIds.PersonRingtone;
2948 /// Image thumbnail path of the person (projection)
2950 public const uint ThumbnailPath = (uint)PropertyIds.PersonThumbnail;
2952 /// Vibration path of the person (projection)
2954 public const uint Vibration = (uint)PropertyIds.PersonVibration;
2956 /// Message alert path of the person (projection)
2958 public const uint MessageAlert = (uint)PropertyIds.PersonMessageAlert;
2960 /// The person is favorite or not
2962 public const uint IsFavorite = (uint)PropertyIds.PersonIsFavorite;
2964 /// The person has phone number or not
2966 public const uint HasPhoneNumber = (uint)PropertyIds.PersonHasPhoneNumber;
2968 /// The person has email or not
2970 public const uint HasEmail = (uint)PropertyIds.PersonHasEmail;
2972 /// Usage type, refer to the UsageTypes
2974 public const uint UsageType = (uint)PropertyIds.PersonUsageType;
2976 /// Usage number of person
2978 public const uint TimesUsed = (uint)PropertyIds.PersonTimesUsed;
2981 /// Enumeration for Person usage type.
2994 /// Outgoing message
3006 /// Incoming message
3033 /// Describes properies of a Contact & Number record.
3035 /// <remarks>Read only view</remarks>
3036 public static class ContactNumber
3039 /// Identifier of this contacts number view
3041 public const string Uri = "tizen.contacts_view.simple_contact/number";
3043 /// Contact ID that the number belongs to
3045 public const uint ContactId = (uint)PropertyIds.ContactId;
3047 /// Display name of contact that the number belongs to
3049 public const uint DisplayName = (uint)PropertyIds.ContactDisplayName;
3051 /// The source type of display name, refer to the Contact.DisplayNameSourceTypes (projection)
3053 public const uint DisplaySourceType = (uint)PropertyIds.ContactDisplaySourceDataId;
3055 /// Addressbook ID that the number belongs to
3057 public const uint AddressbookId = (uint)PropertyIds.ContactAddressbookId;
3059 /// Person ID that the number belongs to
3061 public const uint PersonId = (uint)PropertyIds.ContactPersonId;
3063 /// Ringtone path that the number belongs to (projection)
3065 public const uint RingtonePath = (uint)PropertyIds.ContactRingtone;
3067 /// Image thumbnail path that the number belongs to (projection)
3069 public const uint ThumbnailPath = (uint)PropertyIds.ContactThumbnail;
3071 /// DB record ID of the number
3073 public const uint NumberId = (uint)PropertyIds.NumberId;
3075 /// Number type, refer to the Number.Types (projection)
3077 public const uint Type = (uint)PropertyIds.NumberType;
3079 /// Custom number type label, when the number type is Number.Types.Custom (projection)
3081 public const uint Label = (uint)PropertyIds.NumberLabel;
3083 /// The number is default number or not
3085 public const uint IsDefault = (uint)PropertyIds.NumberIsDefault;
3089 public const uint Number = (uint)PropertyIds.NumberNumber;
3091 /// If you add filter with this property, the string will be normalized as minmatch length internally and the match rule will be applied ContactsFilter.StringMatchType.Exactly
3093 public const uint NumberFilter = (uint)PropertyIds.NumberNumberFilter;
3095 /// You can only use this property for search filter
3097 public const uint NormalizedNumber = (uint)PropertyIds.NumberNormalizedNumber;
3099 /// You can only use this property for search filter
3101 public const uint CleanedNumber = (uint)PropertyIds.NumberCleanedNumber;
3105 /// Describes properies of a Contact & Email record.
3107 /// <remarks>Read only view</remarks>
3108 public static class ContactEmail
3111 /// Identifier of this contacts email view
3113 public const string Uri = "tizen.contacts_view.simple_contact/email";
3115 /// Contact ID that the number belongs to
3117 public const uint ContactId = (uint)PropertyIds.ContactId;
3119 /// Display name of contact that the number belongs to
3121 public const uint DisplayName = (uint)PropertyIds.ContactDisplayName;
3123 /// The source type of display name, refer to the Contact.DisplayNameSourceTypes (projection)
3125 public const uint DisplaySourceType = (uint)PropertyIds.ContactDisplaySourceDataId;
3127 /// Addressbook ID that the number belongs to
3129 public const uint AddressbookId = (uint)PropertyIds.ContactAddressbookId;
3131 /// Person ID that the number belongs to
3133 public const uint PersonId = (uint)PropertyIds.ContactPersonId;
3135 /// Ringtone path that the number belongs to (projection)
3137 public const uint RingtonePath = (uint)PropertyIds.ContactRingtone;
3139 /// Image thumbnail path that the number belongs to (projection)
3141 public const uint ThumbnailPath = (uint)PropertyIds.ContactThumbnail;
3143 /// DB record ID of the email
3145 public const uint EmailId = (uint)PropertyIds.EmailId;
3147 /// Email type, refer to the Email.Types (projection)
3149 public const uint Type = (uint)PropertyIds.EmailType;
3151 /// Custom mail type label, when the email type is Email.Types.Custom (projection)
3153 public const uint Label = (uint)PropertyIds.EmailLabel;
3155 /// Email is default email or not
3157 public const uint IsDefault = (uint)PropertyIds.EmailIsDefault;
3161 public const uint Email = (uint)PropertyIds.EmailEmail;
3165 /// Describes properies of a Contact & Group Relation record.
3167 /// <remarks>Read only view</remarks>
3168 public static class ContactGroupRelation
3171 /// Identifier of this contact grouprel view
3173 public const string Uri = "tizen.contacts_view.simple_contact/group";
3175 /// Contact ID that the number belongs to
3177 public const uint ContactId = (uint)PropertyIds.ContactId;
3179 /// Display name of contact that the number belongs to
3181 public const uint DisplayName = (uint)PropertyIds.ContactDisplayName;
3183 /// The source type of display name, refer to the Contact.DisplayNameSourceTypes (projection)
3185 public const uint DisplaySourceType = (uint)PropertyIds.ContactDisplaySourceDataId;
3187 /// Addressbook ID that the number belongs to
3189 public const uint AddressbookId = (uint)PropertyIds.ContactAddressbookId;
3191 /// Person ID that the number belongs to
3193 public const uint PersonId = (uint)PropertyIds.ContactPersonId;
3195 /// Ringtone path that the number belongs to (projection)
3197 public const uint RingtonePath = (uint)PropertyIds.ContactRingtone;
3199 /// Image thumbnail path that the number belongs to (projection)
3201 public const uint ThumbnailPath = (uint)PropertyIds.ContactThumbnail;
3203 /// DB record ID of the group relation
3205 public const uint GroupId = (uint)PropertyIds.GroupRelationGroupId;
3207 /// Group name (projection)
3209 public const uint GroupName = (uint)PropertyIds.GroupRelationGroupName;
3213 /// Describes properies of a Phone Log Statistics record.
3215 /// <remarks>Read only view</remarks>
3216 public static class PhonelogStatistics
3219 /// Identifier of this log statistics view
3221 public const string Uri = "tizen.contacts_view.phonelog_stat";
3223 /// Log count (projection)
3225 public const uint LogCount = (uint)PropertyIds.PhonelogStatLogCount;
3227 /// Log type, see the contacts_phone_log_type_e
3229 public const uint LogType = (uint)PropertyIds.PhonelogStatLogType;
3231 /// It is related to the SIM slot number. sim_slot_no 0 means first SIM card, sim_slot_no 1 means second SIM. It is same with handle index of telephony handle list. Refer to the telephony_init()
3233 public const uint SIMSlotNo = (uint)PropertyIds.PhonelogStatSIMSlotNo;