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 /// A view is a class which describes properties of a record. A record can have basic properties of five types: integer, string, boolean, long, double.
28 public static class ContactsViews
30 private const uint PropertyAddressbook = 0x00100000;
31 private const uint PropertyGroup = 0x00200000;
32 private const uint PropertyPerson = 0x00300000;
33 private const uint PropertyData = 0x00600000;
34 private const uint PropertySpeedDial = 0x00700000;
35 private const uint PropertyPhonelog = 0x00800000;
36 private const uint PropertyUpdateInfo = 0x00900000;
37 private const uint PropertyPhonelogStat = 0x00B00000;
39 private const uint PropertyContact = 0x01000000;
40 private const uint PropertyName = 0x01100000;
41 private const uint PropertyNumber = 0x01200000;
42 private const uint PropertyEmail = 0x01300000;
43 private const uint PropertyAddress = 0x01400000;
44 private const uint PropertyUrl = 0x01500000;
45 private const uint PropertyEvent = 0x01600000;
46 private const uint PropertyGroupRelation = 0x01700000;
47 private const uint PropertyRelationship = 0x01800000;
48 private const uint PropertyCompany = 0x01900000;
49 private const uint PropertyNickname = 0x01A00000;
50 private const uint PropertyMessenger = 0x01B00000;
51 private const uint PropertyNote = 0x01C00000;
52 private const uint PropertyProfile = 0x01D00000;
53 private const uint PropertyImage = 0x01E00000;
54 private const uint PropertyExtension = 0x01F00000;
55 private const uint PropertyMyProfile = 0x02000000;
56 private const uint PropertyActivityPhoto = 0x02100000;
57 private const uint PropertySip = 0x02200000;
59 /* data_type mask 0x000FF000 */
60 private const uint DataTypeBool = 0x00010000;
61 private const uint DataTypeInt = 0x00020000;
62 private const uint DataTypeLong = 0x00030000;
63 private const uint DataTypeString = 0x00040000;
64 private const uint DataTypeDouble = 0x00050000;
65 private const uint DataTypeRecord = 0x00060000;
67 private const uint ReadOnly = 0x00001000;
69 private enum PropertyIds : uint
72 AddressbookId = (PropertyAddressbook | DataTypeInt | ReadOnly),
73 AddressbookAccountId = (PropertyAddressbook | DataTypeInt) + 1,
74 AddressbookName = (PropertyAddressbook | DataTypeString) + 2,
75 AddressbookMode = (PropertyAddressbook | DataTypeInt) + 3,
78 GroupId = (PropertyGroup | DataTypeInt | ReadOnly),
79 GroupAddressbookId = (PropertyGroup | DataTypeInt) + 1,
80 GroupName = (PropertyGroup | DataTypeString) + 2,
81 GroupRingtone = (PropertyGroup | DataTypeString) + 3,
82 GroupImage = (PropertyGroup | DataTypeString) + 4,
83 GroupVibration = (PropertyGroup | DataTypeString) + 5,
84 GroupExtraData = (PropertyGroup | DataTypeString) + 6,
85 GroupIsReadOnly = (PropertyGroup | DataTypeBool) + 7,
86 GroupMessageAlert = (PropertyGroup | DataTypeString) + 8,
89 PersonId = (PropertyPerson | DataTypeInt | ReadOnly),
90 PersonDisplayName = (PropertyPerson | DataTypeString | ReadOnly) + 1,
91 PersonDisplayContactId = (PropertyPerson | DataTypeInt) + 2,
92 PersonRingtone = (PropertyPerson | DataTypeString) + 3,
93 PersonThumbnail = (PropertyPerson | DataTypeString | ReadOnly) + 4,
94 PersonVibration = (PropertyPerson | DataTypeString) + 5,
95 PersonIsFavorite = (PropertyPerson | DataTypeBool) + 6,
96 PersonFavoritePriority = (PropertyPerson | DataTypeDouble | ReadOnly) + 7,
97 PersonLinkCount = (PropertyPerson | DataTypeInt | ReadOnly) + 8,
98 PersonAddressbookIds = (PropertyPerson | DataTypeString | ReadOnly) + 9,
99 PersonHasPhonenumber = (PropertyPerson | DataTypeBool | ReadOnly) + 10,
100 PersonHasEmail = (PropertyPerson | DataTypeBool | ReadOnly) + 11,
101 PersonDisplayNameIndex = (PropertyPerson | DataTypeString | ReadOnly) + 12,
102 PersonStatus = (PropertyPerson | DataTypeString | ReadOnly) + 13,
103 PersonMessageAlert = (PropertyPerson | DataTypeString) + 14,
104 PersonSnippetType = (PropertyPerson | DataTypeInt | ReadOnly) + 15,
105 PersonSnippetString = (PropertyPerson | DataTypeString | ReadOnly) + 16,
108 PersonUsageType = (PropertyPerson | DataTypeInt) + 100,
109 PersonTimesUsed = (PropertyPerson | DataTypeInt) + 101,
111 /* simple contact : read only */
113 ContactId = (PropertyContact | DataTypeInt | ReadOnly),
114 ContactDisplayName = (PropertyContact | DataTypeString | ReadOnly) + 1,
115 ContactDisplaySourceDataId = (PropertyContact | DataTypeInt | ReadOnly) + 2,
116 ContactAddressbookId = (PropertyContact | DataTypeInt) + 3,
117 ContactRingtone = (PropertyContact | DataTypeString) + 4,
118 ContactImage = (PropertyContact | DataTypeRecord) + 5,
119 ContactThumbnail = (PropertyContact | DataTypeString | ReadOnly) + 6,
120 ContactIsFavorite = (PropertyContact | DataTypeBool) + 7,
121 ContactHasPhonenumber = (PropertyContact | DataTypeBool | ReadOnly) + 8,
122 ContactHasEmail = (PropertyContact | DataTypeBool | ReadOnly) + 9,
123 ContactPersonId = (PropertyContact | DataTypeInt) + 10,
124 ContactUid = (PropertyContact | DataTypeString) + 11,
125 ContactVibration = (PropertyContact | DataTypeString) + 12,
126 ContactChangedTime = (PropertyContact | DataTypeInt | ReadOnly) + 13,
127 ContactName = (PropertyContact | DataTypeRecord) + 14,
128 ContactCompany = (PropertyContact | DataTypeRecord) + 15,
129 ContactNote = (PropertyContact | DataTypeRecord) + 16,
130 ContactNumber = (PropertyContact | DataTypeRecord) + 17,
131 ContactEmail = (PropertyContact | DataTypeRecord) + 18,
132 ContactEvent = (PropertyContact | DataTypeRecord) + 19,
133 ContactMessenger = (PropertyContact | DataTypeRecord) + 20,
134 ContactAddress = (PropertyContact | DataTypeRecord) + 21,
135 ContactUrl = (PropertyContact | DataTypeRecord) + 22,
136 ContactNickname = (PropertyContact | DataTypeRecord) + 23,
137 ContactProfile = (PropertyContact | DataTypeRecord) + 24,
138 ContactRelationship = (PropertyContact | DataTypeRecord) + 25,
139 ContactGroupRelation = (PropertyContact | DataTypeRecord) + 26,
140 ContactExtension = (PropertyContact | DataTypeRecord) + 27,
141 ContactLinkMode = (PropertyContact | DataTypeInt) + 28,
142 ContactMessageAlert = (PropertyContact | DataTypeString) + 29,
143 ContactSip = (PropertyContact | DataTypeRecord) + 30,
146 MyProfileId = (PropertyMyProfile | DataTypeInt | ReadOnly),
147 MyProfileDisplayName = (PropertyMyProfile | DataTypeString | ReadOnly) + 1,
148 MyProfileAddressbookId = (PropertyMyProfile | DataTypeInt) + 2,
149 MyProfileImage = (PropertyMyProfile | DataTypeRecord) + 3,
150 MyProfileThumbnail = (PropertyMyProfile | DataTypeString | ReadOnly) + 4,
151 MyProfileUid = (PropertyMyProfile | DataTypeString) + 5,
152 MyProfileChangedTime = (PropertyMyProfile | DataTypeInt) + 6,
153 MyProfileName = (PropertyMyProfile | DataTypeRecord) + 7,
154 MyProfileCompany = (PropertyMyProfile | DataTypeRecord) + 8,
155 MyProfileNote = (PropertyMyProfile | DataTypeRecord) + 9,
156 MyProfileNumber = (PropertyMyProfile | DataTypeRecord) + 10,
157 MyProfileEmail = (PropertyMyProfile | DataTypeRecord) + 11,
158 MyProfileEvent = (PropertyMyProfile | DataTypeRecord) + 12,
159 MyProfileMessenger = (PropertyMyProfile | DataTypeRecord) + 13,
160 MyProfileAddress = (PropertyMyProfile | DataTypeRecord) + 14,
161 MyProfileUrl = (PropertyMyProfile | DataTypeRecord) + 15,
162 MyProfileNickname = (PropertyMyProfile | DataTypeRecord) + 16,
163 MyProfileProfile = (PropertyMyProfile | DataTypeRecord) + 17,
164 MyProfileRelationship = (PropertyMyProfile | DataTypeRecord) + 18,
165 MyProfileExtension = (PropertyMyProfile | DataTypeRecord) + 19,
166 MyProfileSip = (PropertyMyProfile | DataTypeRecord) + 20,
169 DataId = (PropertyData | DataTypeInt),
170 DataContactId = (PropertyData | DataTypeInt) + 1,
171 DataType = (PropertyData | DataTypeInt) + 2,
172 DataIsPrimaryDefault = (PropertyData | DataTypeBool) + 3,
173 DataIsDefault = (PropertyData | DataTypeBool) + 4,
174 DataData1 = (PropertyData | DataTypeInt) + 5,
175 DataData2 = (PropertyData | DataTypeString) + 6,
176 DataData3 = (PropertyData | DataTypeString) + 7,
177 DataData4 = (PropertyData | DataTypeString) + 8,
178 DataData5 = (PropertyData | DataTypeString) + 9,
179 DataData6 = (PropertyData | DataTypeString) + 10,
180 DataData7 = (PropertyData | DataTypeString) + 11,
181 DataData8 = (PropertyData | DataTypeString) + 12,
182 DataData9 = (PropertyData | DataTypeString) + 13,
183 DataData10 = (PropertyData | DataTypeString) + 14,
186 NameId = (PropertyName | DataTypeInt | ReadOnly),
187 NameContactId = (PropertyName | DataTypeInt) + 1,
188 NameFirst = (PropertyName | DataTypeString) + 2,
189 NameLast = (PropertyName | DataTypeString) + 3,
190 NameAddition = (PropertyName | DataTypeString) + 4,
191 NameSuffix = (PropertyName | DataTypeString) + 5,
192 NamePrefix = (PropertyName | DataTypeString) + 6,
193 NamePhoneticFirst = (PropertyName | DataTypeString) + 7,
194 NamePhoneticMiddle = (PropertyName | DataTypeString) + 8,
195 NamePhoneticLast = (PropertyName | DataTypeString) + 9,
198 NumberId = (PropertyNumber | DataTypeInt | ReadOnly),
199 NumberContactId = (PropertyNumber | DataTypeInt) + 1,
200 NumberType = (PropertyNumber | DataTypeInt) + 2,
201 NumberLabel = (PropertyNumber | DataTypeString) + 3,
202 NumberIsDefault = (PropertyNumber | DataTypeBool) + 4,
203 NumberNumber = (PropertyNumber | DataTypeString) + 5,
204 NumberNumberFilter = (PropertyNumber | DataTypeString) + 6,
205 NumberNormalizedNumber = (PropertyNumber | DataTypeString | ReadOnly) + 7,
206 NumberCleanedNumber = (PropertyNumber | DataTypeString | ReadOnly) + 8,
209 EmailId = (PropertyEmail | DataTypeInt | ReadOnly),
210 EmailContactId = (PropertyEmail | DataTypeInt) + 1,
211 EmailType = (PropertyEmail | DataTypeInt) + 2,
212 EmailLabel = (PropertyEmail | DataTypeString) + 3,
213 EmailIsDefault = (PropertyEmail | DataTypeBool) + 4,
214 EmailEmail = (PropertyEmail | DataTypeString) + 5,
216 /* contact_address */
217 AddressId = (PropertyAddress | DataTypeInt | ReadOnly),
218 AddressContactId = (PropertyAddress | DataTypeInt) + 1,
219 AddressType = (PropertyAddress | DataTypeInt) + 2,
220 AddressLabel = (PropertyAddress | DataTypeString) + 3,
221 AddressPostbox = (PropertyAddress | DataTypeString) + 4,
222 AddressPostalCode = (PropertyAddress | DataTypeString) + 5,
223 AddressRegion = (PropertyAddress | DataTypeString) + 6,
224 AddressLocality = (PropertyAddress | DataTypeString) + 7,
225 AddressStreet = (PropertyAddress | DataTypeString) + 8,
226 AddressCountry = (PropertyAddress | DataTypeString) + 9,
227 AddressExtended = (PropertyAddress | DataTypeString) + 10,
228 AddressIsDefault = (PropertyAddress | DataTypeBool) + 11,
231 UrlId = (PropertyUrl | DataTypeInt | ReadOnly),
232 UrlContactId = (PropertyUrl | DataTypeInt) + 1,
233 UrlType = (PropertyUrl | DataTypeInt) + 2,
234 UrlLabel = (PropertyUrl | DataTypeString) + 3,
235 UrlUrl = (PropertyUrl | DataTypeString) + 4,
238 EventId = (PropertyEvent | DataTypeInt | ReadOnly),
239 EventContactId = (PropertyEvent | DataTypeInt) + 1,
240 EventType = (PropertyEvent | DataTypeInt) + 2,
241 EventLabel = (PropertyEvent | DataTypeString) + 3,
242 EventDate = (PropertyEvent | DataTypeInt) + 4,
243 EventCalendarType = (PropertyEvent | DataTypeInt) + 5,
244 EventIsLeapMonth = (PropertyEvent | DataTypeBool) + 6,
246 /* contact_grouprelation */
247 GroupRelationId = (PropertyGroupRelation | DataTypeInt | ReadOnly),
248 GroupRelationGroupId = (PropertyGroupRelation | DataTypeInt) + 1,
249 GroupRelationContactId = (PropertyGroupRelation | DataTypeInt) + 2,
250 GroupRelationGroupName = (PropertyGroupRelation | DataTypeString) + 3,
252 /* contact_relationship */
253 RelationshipId = (PropertyRelationship | DataTypeInt | ReadOnly),
254 RelationshipContactId = (PropertyRelationship | DataTypeInt) + 1,
255 RelationshipType = (PropertyRelationship | DataTypeInt) + 2,
256 RelationshipLabel = (PropertyRelationship | DataTypeString) + 3,
257 RelationshipName = (PropertyRelationship | DataTypeString) + 4,
260 ImageId = (PropertyImage | DataTypeInt | ReadOnly),
261 ImageContactId = (PropertyImage | DataTypeInt) + 1,
262 ImageType = (PropertyImage | DataTypeInt) + 2,
263 ImageLabel = (PropertyImage | DataTypeString) + 3,
264 ImagePath = (PropertyImage | DataTypeString) + 4,
265 ImageIsDefault = (PropertyImage | DataTypeBool) + 5,
267 /* contact_company */
268 CompanyId = (PropertyCompany | DataTypeInt | ReadOnly),
269 CompanyContactId = (PropertyCompany | DataTypeInt) + 1,
270 CompanyType = (PropertyCompany | DataTypeInt) + 2,
271 CompanyLabel = (PropertyCompany | DataTypeString) + 3,
272 CompanyName = (PropertyCompany | DataTypeString) + 4,
273 CompanyDepartment = (PropertyCompany | DataTypeString) + 5,
274 CompanyJobTitle = (PropertyCompany | DataTypeString) + 6,
275 CompanyRole = (PropertyCompany | DataTypeString) + 7,
276 CompanyAssistantName = (PropertyCompany | DataTypeString) + 8,
277 CompanyLogo = (PropertyCompany | DataTypeString) + 9,
278 CompanyLocation = (PropertyCompany | DataTypeString) + 10,
279 CompanyDescription = (PropertyCompany | DataTypeString) + 11,
280 CompanyPhoneticName = (PropertyCompany | DataTypeString) + 12,
282 /* contact_nickname */
283 NicknameId = (PropertyNickname | DataTypeInt | ReadOnly),
284 NicknameContactId = (PropertyNickname | DataTypeInt) + 1,
285 NicknameName = (PropertyNickname | DataTypeString) + 2,
287 /* contact_messenger */
288 MessengerId = (PropertyMessenger | DataTypeInt | ReadOnly),
289 MessengerContactId = (PropertyMessenger | DataTypeInt) + 1,
290 MessengerType = (PropertyMessenger | DataTypeInt) + 2,
291 MessengerLabel = (PropertyMessenger | DataTypeString) + 3,
292 MessengerIMId = (PropertyMessenger | DataTypeString) + 4,
295 NoteId = (PropertyNote | DataTypeInt | ReadOnly),
296 NoteContactId = (PropertyNote | DataTypeInt) + 1,
297 NoteNote = (PropertyNote | DataTypeString) + 2,
300 SipId = (PropertySip | DataTypeInt | ReadOnly),
301 SipContactId = (PropertySip | DataTypeInt) + 1,
302 SipAddress = (PropertySip | DataTypeString) + 2,
303 SipType = (PropertySip | DataTypeInt) + 3,
304 SipLabel = (PropertySip | DataTypeString) + 4,
306 /* contact_profile */
307 ProfileId = (PropertyProfile | DataTypeInt | ReadOnly),
308 ProfileContactId = (PropertyProfile | DataTypeInt) + 1,
309 ProfileUid = (PropertyProfile | DataTypeString) + 2,
310 ProfileText = (PropertyProfile | DataTypeString) + 3,
311 ProfileOrder = (PropertyProfile | DataTypeInt) + 4,
312 ProfileServiceOperation = (PropertyProfile | DataTypeString) + 5,
313 ProfileMIME = (PropertyProfile | DataTypeString) + 6,
314 ProfileAppId = (PropertyProfile | DataTypeString) + 7,
315 ProfileUri = (PropertyProfile | DataTypeString) + 8,
316 ProfileCategory = (PropertyProfile | DataTypeString) + 9,
317 ProfileExtraData = (PropertyProfile | DataTypeString) + 10,
319 ExtensionId = (PropertyExtension | DataTypeInt | ReadOnly),
320 ExtensionContactId = (PropertyExtension | DataTypeInt) +1,
321 ExtensionData1 = (PropertyExtension | DataTypeInt) +2,
322 ExtensionData2 = (PropertyExtension | DataTypeString) +3,
323 ExtensionData3 = (PropertyExtension | DataTypeString) +4,
324 ExtensionData4 = (PropertyExtension | DataTypeString) +5,
325 ExtensionData5 = (PropertyExtension | DataTypeString) +6,
326 ExtensionData6 = (PropertyExtension | DataTypeString) +7,
327 ExtensionData7 = (PropertyExtension | DataTypeString) +8,
328 ExtensionData8 = (PropertyExtension | DataTypeString) +9,
329 ExtensionData9 = (PropertyExtension | DataTypeString) +10,
330 ExtensionData10 = (PropertyExtension | DataTypeString) +11,
331 ExtensionData11 = (PropertyExtension | DataTypeString) +12,
332 ExtensionData12 = (PropertyExtension | DataTypeString) +13,
335 SpeedDialDialNumber = (PropertySpeedDial | DataTypeInt),
336 SpeedDialNumberId = (PropertySpeedDial | DataTypeInt) +1,
337 SpeedDialNumber = (PropertySpeedDial | DataTypeString | ReadOnly) +2,
338 SpeedDialNumberLabel = (PropertySpeedDial | DataTypeString | ReadOnly) +3,
339 SpeedDialNumberType = (PropertySpeedDial | DataTypeInt | ReadOnly) +4,
340 SpeedDialPersonId = (PropertySpeedDial | DataTypeInt | ReadOnly) +5,
341 SpeedDialDisplayName = (PropertySpeedDial | DataTypeString | ReadOnly) +6,
342 SpeedDialThumbnail = (PropertySpeedDial | DataTypeString | ReadOnly) +7,
343 SpeedDialNormalizedNumber = (PropertySpeedDial | DataTypeString | ReadOnly) +8,
344 SpeedDialCleanedNumber = (PropertySpeedDial | DataTypeString | ReadOnly) +9,
345 SpeedDialNumberFilter = (PropertySpeedDial | DataTypeString | ReadOnly) +10,
348 PhonelogId = (PropertyPhonelog | DataTypeInt | ReadOnly),
349 PhonelogPersonId = (PropertyPhonelog | DataTypeInt) + 1,
350 PhonelogAddress = (PropertyPhonelog | DataTypeString) + 2,
351 PhonelogLogTime = (PropertyPhonelog | DataTypeInt) + 3,
352 PhonelogLogType = (PropertyPhonelog | DataTypeInt) + 4,
353 PhonelogExtraData1 = (PropertyPhonelog | DataTypeInt) + 5, /* duration, message_id, email_id */
354 PhonelogExtraData2 = (PropertyPhonelog | DataTypeString) + 6, /* short message, subject */
355 PhonelogNormalizedAddress = (PropertyPhonelog | DataTypeString | ReadOnly) + 7, /* for search by calllog number */
356 PhonelogCleanedAddress = (PropertyPhonelog | DataTypeString | ReadOnly) + 8, /* for search by calllog number */
357 PhonelogAddressFilter = (PropertyPhonelog | DataTypeString | ReadOnly) + 9, /* for search by calllog number */
358 PhonelogSIMSlotNo = (PropertyPhonelog | DataTypeInt) + 10,
361 PhonelogStatLogCount = (PropertyPhonelogStat | DataTypeInt | ReadOnly),
362 PhonelogStatLogType = (PropertyPhonelogStat | DataTypeInt | ReadOnly) + 1,
363 PhonelogStatSIMSlotNo = (PropertyPhonelogStat | DataTypeInt | ReadOnly) + 2,
365 /* updated_info : read only */
366 UpdateInfoId = (PropertyUpdateInfo | DataTypeInt),
367 UpdateInfoAddressbookId = (PropertyUpdateInfo | DataTypeInt) +1,
368 UpdateInfoType = (PropertyUpdateInfo | DataTypeInt) +2,
369 UpdateInfoVersion = (PropertyUpdateInfo | DataTypeInt) +3,
370 UpdateInfoImageChanged = (PropertyUpdateInfo | DataTypeBool) +4,
371 UpdateInfoLastChangedType = (PropertyUpdateInfo | DataTypeInt)+5, /* now, it is used for _contacts_my_profile_updated_info */
375 /// Enumeration for contact change state.
377 public enum ChangeTypes
393 public static class Addressbook
396 /// Identifier of this contacts addressbook view
398 public const string Uri = "tizen.contacts_view.addressbook";
400 /// integer, read only, DB record ID of the addressbook
402 public const uint Id = (uint)PropertyIds.AddressbookId;
404 /// integer, read/write once, Account ID that the addressbook belongs to
406 public const uint AccountId = (uint)PropertyIds.AddressbookAccountId;
408 /// string, read/write, It cannot be NULL. Duplicate names are not allowed.
410 public const uint Name = (uint)PropertyIds.AddressbookName;
412 /// integer, read/write, Addressbook mode, refer to the Modes
414 public const uint Mode = (uint)PropertyIds.AddressbookMode;
417 /// Enumeration for Address book mode.
422 /// All module can read and write contacts of this address_book
426 /// All module can only read contacts of this address_book
432 public static class Group
435 /// Identifier of this contacts group view
437 public const string Uri = "tizen.contacts_view.group";
439 /// DB record ID of the group
441 public const uint Id = (uint)PropertyIds.GroupId;
443 /// Addressbook ID that the group belongs to
445 public const uint AddressbookId = (uint)PropertyIds.GroupAddressbookId;
449 public const uint Name = (uint)PropertyIds.GroupName;
451 /// Ringtone path of the group
453 public const uint RingtonePath = (uint)PropertyIds.GroupRingtone;
455 /// Image path of the group
457 public const uint ImagePath = (uint)PropertyIds.GroupImage;
459 /// Vibration path of the group
461 public const uint Vibration = (uint)PropertyIds.GroupVibration;
463 /// Extra data for default group name
465 public const uint ExtraData = (uint)PropertyIds.GroupExtraData;
467 /// The group is read only or not
469 public const uint IsReadOnly = (uint)PropertyIds.GroupIsReadOnly;
471 /// Message alert path of the group
473 public const uint MessageAlert = (uint)PropertyIds.GroupMessageAlert;
476 public static class Person
479 /// Identifier of this contacts person view
481 public const string Uri = "tizen.contacts_view.person";
483 /// DB record ID of the person
485 public const uint Id = (uint)PropertyIds.PersonId;
487 /// Display name of the person
489 public const uint DisplayName = (uint)PropertyIds.PersonDisplayName;
491 /// The first character of first string for grouping. This is normalized using icu (projection)
493 public const uint DisplayNameIndex = (uint)PropertyIds.PersonDisplayNameIndex;
495 /// Display contact ID that the person belongs to
497 public const uint DisplayContactId = (uint)PropertyIds.PersonDisplayContactId;
499 /// Ringtone path of the person
501 public const uint RingtonePath = (uint)PropertyIds.PersonRingtone;
503 /// Image thumbnail path of the person
505 public const uint ThumbnailPath = (uint)PropertyIds.PersonThumbnail;
507 /// Vibration path of the person
509 public const uint Vibration = (uint)PropertyIds.PersonVibration;
511 /// Message alert path of the person
513 public const uint MessageAlert = (uint)PropertyIds.PersonMessageAlert;
515 /// Status of social account
517 public const uint Status = (uint)PropertyIds.PersonStatus;
519 /// The person is favorite or not
521 public const uint IsFavorite = (uint)PropertyIds.PersonIsFavorite;
523 /// The priority of favorite contacts. it can be used as sorting key
525 public const uint FavoritePriority = (uint)PropertyIds.PersonFavoritePriority;
527 /// Link count of contact records (projection)
529 public const uint LinkCount = (uint)PropertyIds.PersonLinkCount;
531 /// Addressbook IDs that the person belongs to (projection)
533 public const uint AddressbookIds = (uint)PropertyIds.PersonAddressbookIds;
535 /// The person has phone number or not
537 public const uint HasPhonenumber = (uint)PropertyIds.PersonHasPhonenumber;
539 /// The person has email or not
541 public const uint HasEmail = (uint)PropertyIds.PersonHasEmail;
543 /// kerword matched data type
545 public const uint SnippetType = (uint)PropertyIds.PersonSnippetType;
547 /// keyword matched data string
549 public const uint SnippetString = (uint)PropertyIds.PersonSnippetString;
552 public static class Contact
555 /// Identifier of this contact view
557 public const string Uri = "tizen.contacts_view.contact";
559 /// DB record ID of the contact
561 public const uint Id = (uint)PropertyIds.ContactId;
563 /// Display name of the contact
565 public const uint DisplayName = (uint)PropertyIds.ContactDisplayName;
567 /// The source type of display name, refer to the DisplayNameSourceTypes
569 public const uint DisplaySourceType = (uint)PropertyIds.ContactDisplaySourceDataId;
571 /// Addressbook ID that the contact belongs to
573 public const uint AddressbookId = (uint)PropertyIds.ContactAddressbookId;
575 /// Ringtone path of the contact
577 public const uint RingtonePath = (uint)PropertyIds.ContactRingtone;
579 /// Image thumbnail path of the contact
581 public const uint ThumbnailPath = (uint)PropertyIds.ContactThumbnail;
583 /// The contact is favorite or not
585 public const uint IsFavorite = (uint)PropertyIds.ContactIsFavorite;
587 /// The contact has phone number or not
589 public const uint HasPhonenumber = (uint)PropertyIds.ContactHasPhonenumber;
591 /// The contact has email or not
593 public const uint HasEmail = (uint)PropertyIds.ContactHasEmail;
595 /// Person ID that the contact belongs to. If set when inserting, a contact will be linked to person
597 public const uint PersonId = (uint)PropertyIds.ContactPersonId;
599 /// Unique identifier
601 public const uint Uid = (uint)PropertyIds.ContactUid;
603 /// Vibration path of the contact
605 public const uint Vibration = (uint)PropertyIds.ContactVibration;
607 /// Message alert path of the contact
609 public const uint MessageAlert = (uint)PropertyIds.ContactMessageAlert;
611 /// Last changed contact time
613 public const uint ChangedTime = (uint)PropertyIds.ContactChangedTime;
615 /// The link mode, refer to the LinkModes. If the person_id was set, this value will be ignored
617 public const uint LinkMode = (uint)PropertyIds.ContactLinkMode;
619 /// Name child record (single)
621 public const uint Name = (uint)PropertyIds.ContactName;
623 /// Company child record (multiple)
625 public const uint Company = (uint)PropertyIds.ContactCompany;
627 /// Note child record (multiple)
629 public const uint Note = (uint)PropertyIds.ContactNote;
631 /// Number child record (multiple)
633 public const uint Number = (uint)PropertyIds.ContactNumber;
635 /// Email child record (multiple)
637 public const uint Email = (uint)PropertyIds.ContactEmail;
639 /// Event child record (multiple)
641 public const uint Event = (uint)PropertyIds.ContactEvent;
643 /// Messenger child record (multiple)
645 public const uint Messenger = (uint)PropertyIds.ContactMessenger;
647 /// Address child record (multiple)
649 public const uint Address = (uint)PropertyIds.ContactAddress;
651 /// Url child record (multiple)
653 public const uint Url = (uint)PropertyIds.ContactUrl;
655 /// Nickname child record (multiple)
657 public const uint Nickname = (uint)PropertyIds.ContactNickname;
659 /// Profile child record (multiple)
661 public const uint Profile = (uint)PropertyIds.ContactProfile;
663 /// Relationship child record (multiple)
665 public const uint Relationship = (uint)PropertyIds.ContactRelationship;
667 /// Image child record (multiple)
669 public const uint Image = (uint)PropertyIds.ContactImage;
671 /// GroupRelation child record (multiple)
673 public const uint GroupRelation = (uint)PropertyIds.ContactGroupRelation;
675 /// Extension child record (multiple)
677 public const uint Extension = (uint)PropertyIds.ContactExtension;
679 /// Sip child record (multiple)
681 public const uint Sip = (uint)PropertyIds.ContactSip;
684 /// Enumeration for link mode when inserting contact.
686 public enum LinkModes
689 /// Auto link immediately
693 /// Do not auto link when the contact is inserted
699 /// Enumeration for Contact display name source type.
701 public enum DisplayNameSourceTypes
704 /// Invalid source of display name
708 /// Produced display name from email record
712 /// Produced display name from number record
716 /// Produced display name from nickname record
720 /// Produced display name from company record
724 /// Produced display name from name record
730 /// Enumeration for contacts data type.
732 public enum DataTypes
752 public static class SimpleContact
755 /// Identifier of this simple contact view
757 public const string Uri = "tizen.contacts_view.simple_contact";
759 /// DB record ID of the contact
761 public const uint Id = (uint)PropertyIds.ContactId;
763 /// Display name of the contact
765 public const uint DisplayName = (uint)PropertyIds.ContactDisplayName;
767 /// The source type of display name, refer to the Contact.DisplayNameSourceTypes
769 public const uint DisplaySourceType = (uint)PropertyIds.ContactDisplaySourceDataId;
771 /// Addressbook that the contact belongs to
773 public const uint AddressbookId = (uint)PropertyIds.ContactAddressbookId;
775 /// Ringtone path of the contact
777 public const uint RingtonePath = (uint)PropertyIds.ContactRingtone;
779 /// Image thumbnail path of the contact
781 public const uint ThumbnailPath = (uint)PropertyIds.ContactThumbnail;
783 /// The contact is favorite or not
785 public const uint IsFavorite = (uint)PropertyIds.ContactIsFavorite;
787 /// The contact has phone number or not
789 public const uint HasPhonenumber = (uint)PropertyIds.ContactHasPhonenumber;
791 /// The contact has email or not
793 public const uint HasEmail = (uint)PropertyIds.ContactHasEmail;
795 /// Person ID that the contact belongs to
797 public const uint PersonId = (uint)PropertyIds.ContactPersonId;
799 /// Unique identifier
801 public const uint Uid = (uint)PropertyIds.ContactUid;
803 /// Vibration path of the contact
805 public const uint Vibration = (uint)PropertyIds.ContactVibration;
807 /// Message alert path of the contact
809 public const uint MessageAlert = (uint)PropertyIds.ContactMessageAlert;
811 /// Last changed contact time
813 public const uint ChangedTime = (uint)PropertyIds.ContactChangedTime;
816 public static class MyProfile
819 /// Identifier of this my profile view
821 public const string Uri = "tizen.contacts_view.my_profile";
823 /// DB record ID of the my profile
825 public const uint Id = (uint)PropertyIds.MyProfileId;
827 /// Display name of the profile
829 public const uint DisplayName = (uint)PropertyIds.MyProfileDisplayName;
831 /// Addressbook ID that the profile belongs to
833 public const uint AddressbookId = (uint)PropertyIds.MyProfileAddressbookId;
835 /// Image thumbnail path of the profile
837 public const uint ThumbnailPath = (uint)PropertyIds.MyProfileThumbnail;
839 /// Unique identifier
841 public const uint Uid = (uint)PropertyIds.MyProfileUid;
843 /// Last changed profile time
845 public const uint ChangedTime = (uint)PropertyIds.MyProfileChangedTime;
847 /// Name child record (single)
849 public const uint Name = (uint)PropertyIds.MyProfileName;
851 /// Company child record (multiple)
853 public const uint Company = (uint)PropertyIds.MyProfileCompany;
855 /// Note child record (multiple)
857 public const uint Note = (uint)PropertyIds.MyProfileNote;
859 /// Number child record (multiple)
861 public const uint Number = (uint)PropertyIds.MyProfileNumber;
863 /// Email child record (multiple)
865 public const uint Email = (uint)PropertyIds.MyProfileEmail;
867 /// Event child record (multiple)
869 public const uint Event = (uint)PropertyIds.MyProfileEvent;
871 /// Messenger child record (multiple)
873 public const uint Messenger = (uint)PropertyIds.MyProfileMessenger;
875 /// Address child record (multiple)
877 public const uint Address = (uint)PropertyIds.MyProfileAddress;
879 /// Url child record (multiple)
881 public const uint Url = (uint)PropertyIds.MyProfileUrl;
883 /// Nickname child record (multiple)
885 public const uint Nickname = (uint)PropertyIds.MyProfileNickname;
887 /// Profile child record (multiple)
889 public const uint Profile = (uint)PropertyIds.MyProfileProfile;
891 /// Relationship child record (multiple)
893 public const uint Relationship = (uint)PropertyIds.MyProfileRelationship;
895 /// Image child record (multiple)
897 public const uint Image = (uint)PropertyIds.MyProfileImage;
899 /// Extension child record (multiple)
901 public const uint Extension = (uint)PropertyIds.MyProfileExtension;
903 /// Sip child record (multiple)
905 public const uint Sip = (uint)PropertyIds.MyProfileSip;
908 public static class Name
911 /// Identifier of this contacts name view
913 public const string Uri = "tizen.contacts_view.name";
915 /// DB record ID of the name
917 public const uint Id = (uint)PropertyIds.NameId;
919 /// Contacts ID that the name record belongs to
921 public const uint ContactId = (uint)PropertyIds.NameContactId;
925 public const uint First = (uint)PropertyIds.NameFirst;
929 public const uint Last = (uint)PropertyIds.NameLast;
933 public const uint Addition = (uint)PropertyIds.NameAddition;
937 public const uint Suffix = (uint)PropertyIds.NameSuffix;
941 public const uint Prefix = (uint)PropertyIds.NamePrefix;
943 /// Pronounce the first name
945 public const uint PhoneticFirst = (uint)PropertyIds.NamePhoneticFirst;
947 /// Pronounce the middle name
949 public const uint PhoneticMiddle = (uint)PropertyIds.NamePhoneticMiddle;
951 /// Pronounce the last name
953 public const uint PhoneticLast = (uint)PropertyIds.NamePhoneticLast;
956 public static class Number
959 /// Identifier of this contacts number view
961 public const string Uri = "tizen.contacts_view.number";
963 /// DB record ID of the number
965 public const uint Id = (uint)PropertyIds.NumberId;
967 /// Contact ID that the number belongs to
969 public const uint ContactId = (uint)PropertyIds.NumberContactId;
971 /// Number type, refer to the Types
973 public const uint Type = (uint)PropertyIds.NumberType;
975 /// Custom number type label, when the number type is Types.Custom
977 public const uint Label = (uint)PropertyIds.NumberLabel;
979 /// The number is default number or not
981 public const uint IsDefault = (uint)PropertyIds.NumberIsDefault;
985 public const uint NumberData = (uint)PropertyIds.NumberNumber;
987 /// You can only use this property for search filter.
989 public const uint NormalizedNumber = (uint)PropertyIds.NumberNormalizedNumber;
991 /// You can only use this property for search filter.
993 public const uint CleanedNumber = (uint)PropertyIds.NumberCleanedNumber;
995 /// You can only use this property for search filter.
997 public const uint NumberFilter = (uint)PropertyIds.NumberNumberFilter;
1002 /// Other number type
1006 /// Custom number type
1010 /// A telephone number associated with a residence
1014 /// A telephone number associated with a place of work
1018 /// A voice telephone number
1022 /// A facsimile telephone number
1026 /// The telephone number has voice messaging support
1030 /// A cellular telephone number
1034 /// A paging device telephone number
1038 /// A bulletin board system telephone number
1042 /// A MODEM connected telephone number
1046 /// A car-phone telephone number
1050 /// An ISDN service telephone number
1054 /// A video conferencing telephone number
1058 /// A personal communication services telephone number
1062 /// A company main number
1066 /// A radio phone number
1070 /// An additional type for main
1074 /// An additional type for assistant
1076 Assistant = 1 << 30,
1080 public static class Email
1083 /// Identifier of this contacts email view
1085 public const string Uri = "tizen.contacts_view.email";
1087 /// DB record ID of the email
1089 public const uint Id = (uint)PropertyIds.EmailId;
1091 /// Contact ID that the email belongs to
1093 public const uint ContactId = (uint)PropertyIds.EmailContactId;
1095 /// Email type, refer to the Types
1097 public const uint Type = (uint)PropertyIds.EmailType;
1099 /// Custom mail type label, when the email type is Types.Custom
1101 public const uint Label = (uint)PropertyIds.EmailLabel;
1103 /// The email is default email or not
1105 public const uint IsDefault = (uint)PropertyIds.EmailIsDefault;
1109 public const uint Address = (uint)PropertyIds.EmailEmail;
1114 /// Other email type
1118 /// Custom email type
1122 /// An email address associated with a residence
1126 /// An email address associated with a place of work
1130 /// A mobile email address
1136 public static class Address
1139 /// Identifier of this contacts address view
1141 public const string Uri = "tizen.contacts_view.address";
1143 /// DB record ID of the address
1145 public const uint Id = (uint)PropertyIds.AddressId;
1147 /// Contact ID that the address belongs to
1149 public const uint ContactId = (uint)PropertyIds.AddressContactId;
1151 /// Address type, refer to the Types
1153 public const uint Type = (uint)PropertyIds.AddressType;
1155 /// Address type label, when the address type is Types.Custom
1157 public const uint Label = (uint)PropertyIds.AddressLabel;
1161 public const uint Postbox = (uint)PropertyIds.AddressPostbox;
1165 public const uint PostalCode = (uint)PropertyIds.AddressPostalCode;
1169 public const uint Region = (uint)PropertyIds.AddressRegion;
1173 public const uint Locality = (uint)PropertyIds.AddressLocality;
1177 public const uint Street = (uint)PropertyIds.AddressStreet;
1181 public const uint Country = (uint)PropertyIds.AddressCountry;
1183 /// Extended address
1185 public const uint Extended = (uint)PropertyIds.AddressExtended;
1187 /// The address is default or not
1189 public const uint IsDefault = (uint)PropertyIds.AddressIsDefault;
1192 /// Enumeration for Contact address type.
1197 /// Other address type
1201 /// Custom address type
1205 /// A delivery address for a residence
1209 /// A delivery address for a place of work
1213 /// A domestic delivery address
1217 /// An international delivery address
1219 International = 1 << 4,
1221 /// A postal delivery address
1225 /// A parcel delivery address
1231 public static class Note
1234 /// Identifier of this contacts note view
1236 public const string Uri = "tizen.contacts_view.note";
1238 /// DB record ID of the note
1240 public const uint Id = (uint)PropertyIds.NoteId;
1242 /// Contact ID that the note belongs to
1244 public const uint ContactId = (uint)PropertyIds.NoteContactId;
1248 public const uint Contents = (uint)PropertyIds.NoteNote;
1251 public static class Url
1254 /// Identifier of this contacts URL view
1256 public const string Uri = "tizen.contacts_view.url";
1258 /// DB record ID of the URL
1260 public const uint Id = (uint)PropertyIds.UrlId;
1262 /// Contact ID that the URL belongs to
1264 public const uint ContactId = (uint)PropertyIds.UrlContactId;
1266 /// URL type, refer to the Types
1268 public const uint Type = (uint)PropertyIds.UrlType;
1270 /// Custom URL type label, when the URL type is Types.Custom
1272 public const uint Label = (uint)PropertyIds.UrlLabel;
1276 public const uint UrlData = (uint)PropertyIds.UrlUrl;
1279 /// Enumeration for Contact URL type.
1302 public static class Event
1305 /// Identifier of this contacts event view
1307 public const string Uri = "tizen.contacts_view.event";
1309 /// DB record ID of the event
1311 public const uint Id = (uint)PropertyIds.EventId;
1313 /// Contact ID that the event belongs to
1315 public const uint ContactId = (uint)PropertyIds.EventContactId;
1317 /// Event type, refer to the Types
1319 public const uint Type = (uint)PropertyIds.EventType;
1321 /// Custom event type label, when the event type is Types.Custom
1323 public const uint Label = (uint)PropertyIds.EventLabel;
1325 /// 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
1327 public const uint Date = (uint)PropertyIds.EventDate;
1329 /// Calendar type, refer to the CalendarTypes
1331 public const uint IsLeapMonth = (uint)PropertyIds.EventIsLeapMonth;
1334 /// Enumeration for Contact event type.
1339 /// Other event type
1343 /// Custom event type
1347 /// Birthday event type
1351 /// Anniversary event type
1357 /// Enumeration for Contact event calendar type.
1359 public enum CalendarTypes
1362 /// Gregorian calendar
1366 /// Chinese calenadr
1372 public static class Relationship
1375 /// Identifier of this relationship view
1377 public const string Uri = "tizen.contacts_view.relationship";
1379 /// DB record ID of the relationship
1381 public const uint Id = (uint)PropertyIds.RelationshipId;
1383 /// Contact ID that the relationship belongs to
1385 public const uint ContactId = (uint)PropertyIds.RelationshipContactId;
1387 /// Relationship type, refer to the Types
1389 public const uint Type = (uint)PropertyIds.RelationshipType;
1391 /// Custom relationship type label, when the relationship type is Types.Custom
1393 public const uint Label = (uint)PropertyIds.RelationshipLabel;
1395 /// Selected contact name that the relationship belongs to
1397 public const uint Name = (uint)PropertyIds.RelationshipName;
1400 /// Enumeration for Contact relationship type.
1405 /// Other relationship type
1421 /// Domestic Partner type
1449 /// Referred by type
1471 public static class Image
1474 /// Identifier of this contacts image view
1476 public const string Uri = "tizen.contacts_view.image";
1478 /// DB record ID of the image
1480 public const uint Id = (uint)PropertyIds.ImageId;
1482 /// Contact ID that the image belongs to
1484 public const uint ContactId = (uint)PropertyIds.ImageContactId;
1486 /// Image type, refer to the Types
1488 public const uint Type = (uint)PropertyIds.ImageType;
1490 /// Custom image type label, when the image type is Types.Custom
1492 public const uint Label = (uint)PropertyIds.ImageLabel;
1494 /// Image thumbnail path
1496 public const uint Path = (uint)PropertyIds.ImagePath;
1498 /// The Image is default or not
1500 public const uint IsDefault = (uint)PropertyIds.ImageIsDefault;
1503 /// Enumeration for Contact image type.
1518 public static class Company
1521 /// Identifier of this contacts company view
1523 public const string Uri = "tizen.contacts_view.company";
1525 /// DB record ID of the company
1527 public const uint Id = (uint)PropertyIds.CompanyId;
1529 /// Contact ID that the company belongs to
1531 public const uint ContactId = (uint)PropertyIds.CompanyContactId;
1533 /// Company type, refer to the Types
1535 public const uint Type = (uint)PropertyIds.CompanyType;
1537 /// Custom company type label, when the company type is Types.Custom
1539 public const uint Label = (uint)PropertyIds.CompanyLabel;
1543 public const uint Name = (uint)PropertyIds.CompanyName;
1547 public const uint Department = (uint)PropertyIds.CompanyDepartment;
1551 public const uint JobTitle = (uint)PropertyIds.CompanyJobTitle;
1555 public const uint AssistantName = (uint)PropertyIds.CompanyAssistantName;
1559 public const uint Role = (uint)PropertyIds.CompanyRole;
1561 /// Company logo image file path
1563 public const uint Logo = (uint)PropertyIds.CompanyLogo;
1565 /// Company location
1567 public const uint Location = (uint)PropertyIds.CompanyLocation;
1571 public const uint Description = (uint)PropertyIds.CompanyDescription;
1573 /// Pronounce the company name
1575 public const uint PhoneticName = (uint)PropertyIds.CompanyPhoneticName;
1578 /// Enumeration for Contact company type.
1582 Other = 0, /**< Other company type */
1583 Custom = 1 << 0, /**< Custom company type */
1584 Work = 1 << 1, /**< Work company type */
1588 public static class Nickname
1591 /// Identifier of this contacts nickname view
1593 public const string Uri = "tizen.contacts_view.nickname";
1595 /// DB record ID of the nickname
1597 public const uint Id = (uint)PropertyIds.NicknameId;
1599 /// Contact ID that the nickname belongs to
1601 public const uint ContactId = (uint)PropertyIds.NicknameContactId;
1605 public const uint Name = (uint)PropertyIds.NicknameName;
1608 public static class Messenger
1611 /// Identifier of this contacts messenger view
1613 public const string Uri = "tizen.contacts_view.messenger";
1615 /// DB record ID of the messenger
1617 public const uint Id = (uint)PropertyIds.MessengerId;
1619 /// Contact ID that the messenger belongs to
1621 public const uint ContactId = (uint)PropertyIds.MessengerContactId;
1623 /// Messenger type, refer to the Types
1625 public const uint Type = (uint)PropertyIds.MessengerType;
1627 /// Custom messenger type label, when the messenger type is Types.Custom
1629 public const uint Label = (uint)PropertyIds.MessengerLabel;
1631 /// Messenger ID (email address or email ID...)
1633 public const uint IMId = (uint)PropertyIds.MessengerIMId;
1636 /// Enumeration for Contact messenger type.
1641 /// Other messenger type
1645 /// Custom messenger type
1649 /// Google messenger type
1653 /// Windows live messenger type
1657 /// Yahoo messenger type
1661 /// Facebook messenger type
1669 /// AOL instance messenger type
1691 public static class Profile
1694 /// Identifier of this contacts profile view
1696 public const string Uri = "tizen.contacts_view.profile";
1698 /// DB record ID of profile
1700 public const uint Id = (uint)PropertyIds.ProfileId;
1702 /// Contacts ID that the profile belongs to
1704 public const uint ContactId = (uint)PropertyIds.ProfileContactId;
1706 /// Unique identifier
1708 public const uint Uid = (uint)PropertyIds.ProfileUid;
1710 /// Profile contents
1712 public const uint Text = (uint)PropertyIds.ProfileText;
1714 /// Priority to display the profile
1716 public const uint Order = (uint)PropertyIds.ProfileOrder;
1718 /// Data for app_control_set_operation
1720 public const uint ServiceOperation = (uint)PropertyIds.ProfileServiceOperation;
1722 /// Data for app_control_set_mime
1724 public const uint Mime = (uint)PropertyIds.ProfileMIME;
1726 /// Data for app_control_set_app_id
1728 public const uint AppId = (uint)PropertyIds.ProfileAppId;
1730 /// Data for app_control_set_uri
1732 public const uint ProfileUri = (uint)PropertyIds.ProfileUri;
1734 /// Data for app_control_set_category
1736 public const uint Category = (uint)PropertyIds.ProfileCategory;
1738 /// It includes "key:value,key:value," pairs. You should parse it. And you must base64 encode each key and value
1740 public const uint ExtraData = (uint)PropertyIds.ProfileExtraData;
1743 public static class Sip
1746 /// Identifier of this contacts sip view
1748 public const string Uri = "tizen.contacts_view.sip";
1750 /// DB record ID of the sip
1752 public const uint Id = (uint)PropertyIds.SipId;
1754 /// Contact ID that the sip belongs to
1756 public const uint ContactId = (uint)PropertyIds.SipContactId;
1760 public const uint Address = (uint)PropertyIds.SipAddress;
1762 /// sip type, refer to the Types
1764 public const uint Type = (uint)PropertyIds.SipType;
1766 /// Custom sip type label, when the sip type is Types.Custom
1768 public const uint Label = (uint)PropertyIds.SipLabel;
1791 public static class Extension
1794 /// Identifier of this contacts extension view
1796 public const string Uri = "tizen.contacts_view.extension";
1798 /// DB record ID of the contact extension
1800 public const uint Id = (uint)PropertyIds.ExtensionId;
1802 /// Contact ID that the contact extension belongs to
1804 public const uint ContactId = (uint)PropertyIds.ExtensionContactId;
1806 /// The extra child record format for non-provided from contacts-service
1808 public const uint Data1 = (uint)PropertyIds.ExtensionData1;
1810 /// The extra child record format for non-provided from contacts-service
1812 public const uint Data2 = (uint)PropertyIds.ExtensionData2;
1814 /// The extra child record format for non-provided from contacts-service
1816 public const uint Data3 = (uint)PropertyIds.ExtensionData3;
1818 /// The extra child record format for non-provided from contacts-service
1820 public const uint Data4 = (uint)PropertyIds.ExtensionData4;
1822 /// The extra child record format for non-provided from contacts-service
1824 public const uint Data5 = (uint)PropertyIds.ExtensionData5;
1826 /// The extra child record format for non-provided from contacts-service
1828 public const uint Data6 = (uint)PropertyIds.ExtensionData6;
1830 /// The extra child record format for non-provided from contacts-service
1832 public const uint Data7 = (uint)PropertyIds.ExtensionData7;
1834 /// The extra child record format for non-provided from contacts-service
1836 public const uint Data8 = (uint)PropertyIds.ExtensionData8;
1838 /// The extra child record format for non-provided from contacts-service
1840 public const uint Data9 = (uint)PropertyIds.ExtensionData9;
1842 /// The extra child record format for non-provided from contacts-service
1844 public const uint Data10 = (uint)PropertyIds.ExtensionData10;
1846 /// The extra child record format for non-provided from contacts-service
1848 public const uint Data11 = (uint)PropertyIds.ExtensionData11;
1850 /// The extra child record format for non-provided from contacts-service
1852 public const uint Data12 = (uint)PropertyIds.ExtensionData12;
1855 public static class GroupRelation
1858 /// Identifier of this relationship view
1860 public const string Uri = "tizen.contacts_view.group_relation";
1862 /// DB record ID of the group relation (can not be used as filter)
1864 public const uint Id = (uint)PropertyIds.GroupRelationId;
1866 /// DB record ID of the group
1868 public const uint GroupId = (uint)PropertyIds.GroupRelationGroupId;
1870 /// DB record ID of the contact
1872 public const uint ContactId = (uint)PropertyIds.GroupRelationContactId;
1876 public const uint Name = (uint)PropertyIds.GroupRelationGroupName;
1879 public static class SpeedDial
1882 /// Identifier of this contact speed dial view
1884 public const string Uri = "tizen.contacts_view.speeddial";
1886 /// Stored speed dial number
1888 public const uint SpeedDialNumber = (uint)PropertyIds.SpeedDialDialNumber;
1890 /// Number ID that the speed dial belongs to
1892 public const uint NumberId = (uint)PropertyIds.SpeedDialNumberId;
1894 /// Contact number of specified speed dial
1896 public const uint Number = (uint)PropertyIds.SpeedDialNumber;
1898 /// Contact number label of specified speed dial, when the number type is Number.Types.Custom
1900 public const uint NumberLabel = (uint)PropertyIds.SpeedDialNumberLabel;
1902 /// Contact number type, refer to the Number.Types
1904 public const uint NumberType = (uint)PropertyIds.SpeedDialNumberType;
1906 /// Person ID that the speed dial belongs to
1908 public const uint PersonId = (uint)PropertyIds.SpeedDialPersonId;
1910 /// Display name that the speed dial belongs to
1912 public const uint DisplayName = (uint)PropertyIds.SpeedDialDisplayName;
1914 /// Image thumbnail path that the speed dial belongs to
1916 public const uint ThumbnailPath = (uint)PropertyIds.SpeedDialThumbnail;
1918 /// You can only use this property for search filter
1920 public const uint NormalizedNumber = (uint)PropertyIds.SpeedDialNormalizedNumber;
1922 /// You can only use this property for search filter
1924 public const uint CleanedNumber = (uint)PropertyIds.SpeedDialCleanedNumber;
1926 /// 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
1928 public const uint NumberFilter = (uint)PropertyIds.SpeedDialNumberFilter;
1931 public static class PhoneLog
1934 /// Identifier of this phone log view
1936 public const string Uri = "tizen.contacts_view.phonelog";
1938 /// DB record ID of phone log
1940 public const uint Id = (uint)PropertyIds.PhonelogId;
1942 /// Person ID that the phone log belongs to
1944 public const uint PersonId = (uint)PropertyIds.PhonelogPersonId;
1946 /// Number or Email that the phone log displays
1948 public const uint Address = (uint)PropertyIds.PhonelogAddress;
1950 /// Call end time. The value means number of seconds since 1970-01-01 00:00:00 (UTC)
1952 public const uint LogTime = (uint)PropertyIds.PhonelogLogTime;
1954 /// Log type, refer to the Types
1956 public const uint LogType = (uint)PropertyIds.PhonelogLogType;
1958 /// You can set the related integer data (e.g. message_id, email_id or duration(seconds) of call)
1960 public const uint ExtraData1 = (uint)PropertyIds.PhonelogExtraData1;
1962 /// You can set the related string data (e.g. short message, subject)
1964 public const uint ExtraData2 = (uint)PropertyIds.PhonelogExtraData2;
1966 /// You can only use this property for search filter
1968 public const uint NormalizedAddress = (uint)PropertyIds.PhonelogNormalizedAddress;
1970 /// You can only use this property for search filter
1972 public const uint CleanedAddress = (uint)PropertyIds.PhonelogCleanedAddress;
1974 /// You can only use this property for search filter
1976 public const uint AddressFilter = (uint)PropertyIds.PhonelogAddressFilter;
1978 /// 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()
1980 public const uint SimSlotNo = (uint)PropertyIds.PhonelogSIMSlotNo;
1997 /// Incoming video call
2001 /// Outgoing video call
2005 /// Not confirmed missed call
2007 VoiceMissedUnseen = 5,
2009 /// Confirmed missed call
2011 VoiceMissedSeen = 6,
2013 /// Not confirmed missed video call
2015 VideoMissedUnseen = 7,
2017 /// Confirmed missed video call
2019 VidoeMissedSeen = 8,
2025 /// Rejected video call
2033 /// Blocked video call
2063 EmailReceived = 201,
2075 /// <remarks>Read only view</remarks>
2076 public static class ContactUpdatedInfo
2079 /// Identifier of this contact updated info view
2081 public const string Uri = "tizen.contacts_view.contacts_updated_info";
2083 /// Updated contact ID
2085 public const uint ContactId = (uint)PropertyIds.UpdateInfoId;
2087 /// Addressbook ID that the updated contact belongs to
2089 public const uint AddressbookId = (uint)PropertyIds.UpdateInfoAddressbookId;
2091 /// Contact updated type, refer to the ContactsViews.ChangeTypes
2093 public const uint Type = (uint)PropertyIds.UpdateInfoType;
2097 public const uint Version = (uint)PropertyIds.UpdateInfoVersion;
2099 /// Contact image is changed or not
2101 public const uint ImageChanged = (uint)PropertyIds.UpdateInfoImageChanged;
2107 /// <remarks>Read only view</remarks>
2108 public static class MyProfileUpdatedInfo
2111 /// Identifier of this my profile updated info view
2113 public const string Uri = "tizen.contacts_view.my_profile_updated_info";
2115 /// Address book ID that the updated my profile belongs to
2117 public const uint AddressbookId = (uint)PropertyIds.UpdateInfoAddressbookId;
2119 /// Changed update type, refer to the ContactsViews.ChangeTypes
2121 public const uint LastChangedType = (uint)PropertyIds.UpdateInfoLastChangedType;
2125 public const uint Version = (uint)PropertyIds.UpdateInfoVersion;
2131 /// <remarks>Read only view</remarks>
2132 public static class GroupUpdatedInfo
2135 /// Identifier of this group updated info view
2137 public const string Uri = "tizen.contacts_view.groups_updated_info";
2139 /// Updated group ID
2141 public const uint GroupId = (uint)PropertyIds.UpdateInfoId;
2143 /// Address book ID that the updated group belongs to
2145 public const uint AddressbookId = (uint)PropertyIds.UpdateInfoAddressbookId;
2147 /// Changed update type, refer to the ContactsViews.ChangeTypes
2149 public const uint Type = (uint)PropertyIds.UpdateInfoType;
2153 public const uint Version = (uint)PropertyIds.UpdateInfoVersion;
2159 /// <remarks>Read only view</remarks>
2160 public static class GroupMemberUpdatedInfo
2163 /// Identifier of this group member updated info view
2165 public const string Uri = "tizen.contacts_view.groups_member_updated_info";
2167 /// Updated group ID
2169 public const uint GroupId = (uint)PropertyIds.UpdateInfoId;
2171 /// Address book ID that the updated group belongs to
2173 public const uint AddressbookId = (uint)PropertyIds.UpdateInfoAddressbookId;
2177 public const uint Version = (uint)PropertyIds.UpdateInfoVersion;
2183 /// <remarks>Read only view</remarks>
2184 public static class GroupRelationUpdatedInfo
2187 /// Identifier of this group relation updated info view
2189 public const string Uri = "tizen.contacts_view.group_relations_updated_info";
2191 /// Group ID of group relation
2193 public const uint GroupId = (uint)PropertyIds.GroupId;
2195 /// Contact ID of the updated group relation
2197 public const uint ContactId = (uint)PropertyIds.ContactId;
2199 /// Address book ID of contact that the updated group relation
2201 public const uint AddressbookId = (uint)PropertyIds.AddressbookId;
2203 /// Changed update type, refer to the ContactsViews.ChangeTypes
2205 public const uint Type = (uint)PropertyIds.UpdateInfoType;
2209 public const uint Version = (uint)PropertyIds.UpdateInfoVersion;
2215 /// <remarks>Read only view</remarks>
2216 public static class PersonContact
2219 /// Identifier of this person contact view
2221 public const string Uri = "tizen.contacts_view.person/simple_contact";
2223 /// DB record ID of the person
2225 public const uint PersonId = (uint)PropertyIds.PersonId;
2227 /// Display name of the person
2229 public const uint DisplayName = (uint)PropertyIds.PersonDisplayName;
2231 /// The first character of first string for grouping. This is normalized using icu (projection)
2233 public const uint DisplayNameIndex = (uint)PropertyIds.PersonDisplayNameIndex;
2235 /// Display contact ID that the person belongs to (projection)
2237 public const uint DisplayContactId = (uint)PropertyIds.PersonDisplayContactId;
2239 /// Ringtone path of the person (projection)
2241 public const uint RingtonePath = (uint)PropertyIds.PersonRingtone;
2243 /// Image thumbnail path of the person (projection)
2245 public const uint ThumbnailPath = (uint)PropertyIds.PersonThumbnail;
2247 /// Vibration path of the person (projection)
2249 public const uint Vibration = (uint)PropertyIds.PersonVibration;
2251 /// Message alert path of the person (projection)
2253 public const uint MessageAlert = (uint)PropertyIds.PersonMessageAlert;
2255 /// Status of social account (projection)
2257 public const uint Status = (uint)PropertyIds.PersonStatus;
2259 /// The person is favorite or not
2261 public const uint IsFavorite = (uint)PropertyIds.PersonIsFavorite;
2263 /// Link count of contact records (projection)
2265 public const uint LinkCount = (uint)PropertyIds.PersonLinkCount;
2267 /// Contact ID that the person belongs to
2269 public const uint ContactId = (uint)PropertyIds.ContactId;
2271 /// Addressbook IDs that the person belongs to (projection)
2273 public const uint AddressbookIds = (uint)PropertyIds.PersonAddressbookIds;
2275 /// The person has phone number or not
2277 public const uint HasPhonenumber = (uint)PropertyIds.PersonHasPhonenumber;
2279 /// The person has email or not
2281 public const uint HasEmail = (uint)PropertyIds.PersonHasEmail;
2283 /// Addressbook ID that the person belongs to
2285 public const uint AddressbookId = (uint)PropertyIds.ContactAddressbookId;
2287 /// Addressbook mode, refer to the Addressbook.Modes
2289 public const uint AddressbookMode = (uint)PropertyIds.AddressbookMode;
2291 /// Addressbook name that the person belongs to
2293 public const uint AddressbookName = (uint)PropertyIds.AddressbookName;
2295 /// kerword matched data type, refer to the Contact.DataTypes
2297 public const uint SnippetType = (uint)PropertyIds.PersonSnippetType;
2299 /// keyword matched data string
2301 public const uint SnippetString = (uint)PropertyIds.PersonSnippetString;
2307 /// <remarks>Read only view</remarks>
2308 public static class PersonNumber
2311 /// Identifier of this person number view
2313 public const string Uri = "tizen.contacts_view.person/simple_contact/number";
2315 /// DB record ID of the person
2317 public const uint PersonId = (uint)PropertyIds.PersonId;
2319 /// Display name of the person
2321 public const uint DisplayName = (uint)PropertyIds.PersonDisplayName;
2323 /// The first character of first string for grouping. This is normalized using icu (projection)
2325 public const uint DisplayNameIndex = (uint)PropertyIds.PersonDisplayNameIndex;
2327 /// Display contact ID that the person belongs to (projection)
2329 public const uint DisplayContactId = (uint)PropertyIds.PersonDisplayContactId;
2331 /// Ringtone path of the person (projection)
2333 public const uint RingtonePath = (uint)PropertyIds.PersonRingtone;
2335 /// Image thumbnail path of the person (projection)
2337 public const uint ThumbnailPath = (uint)PropertyIds.PersonThumbnail;
2339 /// Vibration path of the person (projection)
2341 public const uint Vibration = (uint)PropertyIds.PersonVibration;
2343 /// Message alert path of the person (projection)
2345 public const uint MessageAlert = (uint)PropertyIds.PersonMessageAlert;
2347 /// The person is favorite or not
2349 public const uint IsFavorite = (uint)PropertyIds.PersonIsFavorite;
2351 /// The person has phone number or not
2353 public const uint HasPhonenumber = (uint)PropertyIds.PersonHasPhonenumber;
2355 /// The person has email or not
2357 public const uint HasEmail = (uint)PropertyIds.PersonHasEmail;
2359 /// Number ID that the person belongs to
2361 public const uint NumberId = (uint)PropertyIds.NumberId;
2363 /// Number type, refer to the Number.Types (projection)
2365 public const uint Type = (uint)PropertyIds.NumberType;
2367 /// Custom number type label, when the number type is Number.Types.Custom (projection)
2369 public const uint Label = (uint)PropertyIds.NumberLabel;
2371 /// The number is default number or not
2373 public const uint IsPrimaryDefault = (uint)PropertyIds.DataIsPrimaryDefault;
2377 public const uint Number = (uint)PropertyIds.NumberNumber;
2379 /// 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.
2381 public const uint NumberFilter = (uint)PropertyIds.NumberNumberFilter;
2383 /// You can only use this property for search filter
2385 public const uint NormalizedNumber = (uint)PropertyIds.NumberNormalizedNumber;
2387 /// You can only use this property for search filter
2389 public const uint CleanedNumber = (uint)PropertyIds.NumberCleanedNumber;
2391 /// kerword matched data type, refer to they Contact.DataTypes
2393 public const uint SnippetType = (uint)PropertyIds.PersonSnippetType;
2395 /// keyword matched data string
2397 public const uint SnippetString = (uint)PropertyIds.PersonSnippetString;
2403 /// <remarks>Read only view</remarks>
2404 public static class PersonEmail
2407 /// Identifier of this person email view
2409 public const string Uri = "tizen.contacts_view.person/simple_contact/email";
2411 /// DB record ID of the person
2413 public const uint PersonId = (uint)PropertyIds.PersonId;
2415 /// Display name of the person
2417 public const uint DisplayName = (uint)PropertyIds.PersonDisplayName;
2419 /// The first character of first string for grouping. This is normalized using icu (projection)
2421 public const uint DisplayNameIndex = (uint)PropertyIds.PersonDisplayNameIndex;
2423 /// Display contact ID that the person belongs to (projection)
2425 public const uint DisplayContactId = (uint)PropertyIds.PersonDisplayContactId;
2427 /// Ringtone path of the person (projection)
2429 public const uint RingtonePath = (uint)PropertyIds.PersonRingtone;
2431 /// Image thumbnail path of the person (projection)
2433 public const uint ThumbnailPath = (uint)PropertyIds.PersonThumbnail;
2435 /// Vibration path of the person (projection)
2437 public const uint Vibration = (uint)PropertyIds.PersonVibration;
2439 /// Message alert path of the person (projection)
2441 public const uint MessageAlert = (uint)PropertyIds.PersonMessageAlert;
2443 /// The person is favorite or not
2445 public const uint IsFavorite = (uint)PropertyIds.PersonIsFavorite;
2447 /// The person has phone number or not
2449 public const uint HasPhonenumber = (uint)PropertyIds.PersonHasPhonenumber;
2451 /// The person has email or not
2453 public const uint HasEmail = (uint)PropertyIds.PersonHasEmail;
2455 /// Email ID that the person belongs to
2457 public const uint EmailId = (uint)PropertyIds.EmailId;
2459 /// Email type, refer to the Email.Types (projection)
2461 public const uint Type = (uint)PropertyIds.EmailType;
2463 /// Custom mail type label, when the email type is Email.Types.Custom (projection)
2465 public const uint Label = (uint)PropertyIds.EmailLabel;
2467 /// The email is default email or not
2469 public const uint IsPrimaryDefault = (uint)PropertyIds.DataIsPrimaryDefault;
2473 public const uint Email = (uint)PropertyIds.EmailEmail;
2475 /// kerword matched data type, refer to they Contact.DataTypes
2477 public const uint SnippetType = (uint)PropertyIds.PersonSnippetType;
2479 /// keyword matched data string
2481 public const uint SnippetString = (uint)PropertyIds.PersonSnippetString;
2487 /// <remarks>Read only view</remarks>
2488 public static class PersonGroupRelation
2491 /// Identifier of this person group relation view
2493 public const string Uri = "tizen.contacts_view.person/simple_contact/group";
2495 /// DB record ID of the person
2497 public const uint PersonId = (uint)PropertyIds.PersonId;
2499 /// Display name of the person
2501 public const uint DisplayName = (uint)PropertyIds.PersonDisplayName;
2503 /// The first character of first string for grouping. This is normalized using icu (projection)
2505 public const uint DisplayNameIndex = (uint)PropertyIds.PersonDisplayNameIndex;
2507 /// Display contact ID that the person belongs to (projection)
2509 public const uint DisplayContactId = (uint)PropertyIds.PersonDisplayContactId;
2511 /// Ringtone path of the person (projection)
2513 public const uint RingtonePath = (uint)PropertyIds.PersonRingtone;
2515 /// Image thumbnail path of the person (projection)
2517 public const uint ThumbnailPath = (uint)PropertyIds.PersonThumbnail;
2519 /// Vibration path of the person (projection)
2521 public const uint Vibration = (uint)PropertyIds.PersonVibration;
2523 /// Message alert path of the person (projection)
2525 public const uint MessageAlert = (uint)PropertyIds.PersonMessageAlert;
2527 /// Status of social account (projection)
2529 public const uint Status = (uint)PropertyIds.PersonStatus;
2531 /// The person is favorite or not
2533 public const uint IsFavorite = (uint)PropertyIds.PersonIsFavorite;
2535 /// The person has phone number or not
2537 public const uint HasPhonenumber = (uint)PropertyIds.PersonHasPhonenumber;
2539 /// The person has email or not
2541 public const uint HasEmail = (uint)PropertyIds.PersonHasEmail;
2543 /// Link count of contat records (projection)
2545 public const uint LinkCount = (uint)PropertyIds.PersonLinkCount;
2547 /// Addressbook IDs that the person belongs to (projection)
2549 public const uint AddressbookIds = (uint)PropertyIds.PersonAddressbookIds;
2551 /// Addressbook ID that the person belongs to
2553 public const uint AddressbookId = (uint)PropertyIds.ContactAddressbookId;
2555 /// Addressbook name that the person belongs to
2557 public const uint AddressbookName = (uint)PropertyIds.AddressbookName;
2559 /// Addressbook mode, refer to the Addressbook.Modes
2561 public const uint AddressbookMode = (uint)PropertyIds.AddressbookMode;
2563 /// Group ID that the person belongs to
2565 public const uint GroupId = (uint)PropertyIds.GroupRelationGroupId;
2567 /// Contact ID that the person belongs to (projection)
2569 public const uint ContactId = (uint)PropertyIds.GroupRelationContactId;
2571 /// kerword matched data type, refer to they Contact.DataTypes
2573 public const uint SnippetType = (uint)PropertyIds.PersonSnippetType;
2575 /// keyword matched data string
2577 public const uint SnippetString = (uint)PropertyIds.PersonSnippetString;
2583 /// <remarks>Read only view</remarks>
2584 public static class PersonGroupAssigned
2587 /// Identifier of this person group assigned view
2589 public const string Uri = "tizen.contacts_view.person/simple_contact/group_assigned";
2591 /// DB record ID of the person
2593 public const uint PersonId = (uint)PropertyIds.PersonId;
2595 /// Display name of the person
2597 public const uint DisplayName = (uint)PropertyIds.PersonDisplayName;
2599 /// The first character of first string for grouping. This is normalized using icu (projection)
2601 public const uint DisplayNameIndex = (uint)PropertyIds.PersonDisplayNameIndex;
2603 /// Display contact ID that the person belongs to (projection)
2605 public const uint DisplayContactId = (uint)PropertyIds.PersonDisplayContactId;
2607 /// Ringtone path of the person (projection)
2609 public const uint RingtonePath = (uint)PropertyIds.PersonRingtone;
2611 /// Image thumbnail path of the person (projection)
2613 public const uint ThumbnailPath = (uint)PropertyIds.PersonThumbnail;
2615 /// Vibration path of the person (projection)
2617 public const uint Vibration = (uint)PropertyIds.PersonVibration;
2619 /// Message alert path of the person (projection)
2621 public const uint MessageAlert = (uint)PropertyIds.PersonMessageAlert;
2623 /// Status of social account (projection)
2625 public const uint Status = (uint)PropertyIds.PersonStatus;
2627 /// The person is favorite or not
2629 public const uint IsFavorite = (uint)PropertyIds.PersonIsFavorite;
2631 /// The person has phone number or not
2633 public const uint HasPhonenumber = (uint)PropertyIds.PersonHasPhonenumber;
2635 /// The person has email or not
2637 public const uint HasEmail = (uint)PropertyIds.PersonHasEmail;
2639 /// Link count of contact records (projection)
2641 public const uint LinkCount = (uint)PropertyIds.PersonLinkCount;
2643 /// Addressbook IDs that the linked person belongs to (projection)
2645 public const uint AddressbookIds = (uint)PropertyIds.PersonAddressbookIds;
2647 /// Addressbook ID that the person belongs to
2649 public const uint AddressbookId = (uint)PropertyIds.ContactAddressbookId;
2651 /// Addressbook mode, refer to the Addressbook.Modes
2653 public const uint AddressbookMode = (uint)PropertyIds.AddressbookMode;
2655 /// Group ID that the person belongs to
2657 public const uint GroupId = (uint)PropertyIds.GroupRelationGroupId;
2659 /// Contact ID that the person belongs to (projection)
2661 public const uint ContactId = (uint)PropertyIds.GroupRelationContactId;
2663 /// kerword matched data type, refer to they Contact.DataTypes
2665 public const uint SnippetType = (uint)PropertyIds.PersonSnippetType;
2667 /// keyword matched data string
2669 public const uint SnippetString = (uint)PropertyIds.PersonSnippetString;
2675 /// <remarks>Read only view</remarks>
2676 public static class PersonGroupNotAssigned
2679 /// Identifier of this person group not assigned view
2681 public const string Uri = "tizen.contacts_view.person/simple_contact/group_not_assigned";
2683 /// DB record ID of the person
2685 public const uint PersonId = (uint)PropertyIds.PersonId;
2687 /// Display name of the person
2689 public const uint DisplayName = (uint)PropertyIds.PersonDisplayName;
2691 /// The first character of first string for grouping. This is normalized using icu (projection)
2693 public const uint DisplayNameIndex = (uint)PropertyIds.PersonDisplayNameIndex;
2695 /// Display contact ID that the person belongs to (projection)
2697 public const uint DisplayContactId = (uint)PropertyIds.PersonDisplayContactId;
2699 /// Ringtone path of the person (projection)
2701 public const uint RingtonePath = (uint)PropertyIds.PersonRingtone;
2703 /// Image thumbnail path of the person (projection)
2705 public const uint ThumbnailPath = (uint)PropertyIds.PersonThumbnail;
2707 /// Vibration path of the person (projection)
2709 public const uint Vibration = (uint)PropertyIds.PersonVibration;
2711 /// Message alert path of the person (projection)
2713 public const uint MessageAlert = (uint)PropertyIds.PersonMessageAlert;
2715 /// Status of social account (projection)
2717 public const uint Status = (uint)PropertyIds.PersonStatus;
2719 /// The person is favorite or not
2721 public const uint IsFavorite = (uint)PropertyIds.PersonIsFavorite;
2723 /// The person has phone number or not
2725 public const uint HasPhonenumber = (uint)PropertyIds.PersonHasPhonenumber;
2727 /// The person has email or not
2729 public const uint HasEmail = (uint)PropertyIds.PersonHasEmail;
2731 /// Link count of contact records (projection)
2733 public const uint LinkCount = (uint)PropertyIds.PersonLinkCount;
2735 /// Addressbook IDs that the linked person belongs to (projection)
2737 public const uint AddressbookIds = (uint)PropertyIds.PersonAddressbookIds;
2739 /// Addressbook ID that the person belongs to
2741 public const uint AddressbookId = (uint)PropertyIds.ContactAddressbookId;
2743 /// Addressbook mode, refer to the Addressbook.Modes
2745 public const uint AddressbookMode = (uint)PropertyIds.AddressbookMode;
2747 /// Contact ID that the person belongs to (projection)
2749 public const uint ContactId = (uint)PropertyIds.ContactId;
2751 /// kerword matched data type, refer to they Contact.DataTypes
2753 public const uint SnippetType = (uint)PropertyIds.PersonSnippetType;
2755 /// keyword matched data string
2757 public const uint SnippetString = (uint)PropertyIds.PersonSnippetString;
2763 /// <remarks>Read only view</remarks>
2764 public static class PersonPhonelog
2767 /// Identifier of this phone log view
2769 public const string Uri = "tizen.contacts_view.person/simple_contact/phonelog";
2771 /// DB record ID of the person
2773 public const uint PersonId = (uint)PropertyIds.PersonId;
2775 /// Display name of the person
2777 public const uint DisplayName = (uint)PropertyIds.PersonDisplayName;
2779 /// Image thumbnail path of the person (projection)
2781 public const uint ThumbnailPath = (uint)PropertyIds.PersonThumbnail;
2783 /// DB record ID of phone log
2785 public const uint LogId = (uint)PropertyIds.PhonelogId;
2787 /// Number or Email that the phone log displays
2789 public const uint Address = (uint)PropertyIds.PhonelogAddress;
2791 /// Number or Email type (projection)
2793 public const uint AddressType = (uint)PropertyIds.DataData1;
2795 /// Call end time. The value means number of seconds since 1970-01-01 00:00:00 (UTC)
2797 public const uint LogTime = (uint)PropertyIds.PhonelogLogTime;
2799 /// Log type, refer to the PhoneLog.Types
2801 public const uint LogType = (uint)PropertyIds.PhonelogLogType;
2803 /// You can set the related integer data (e.g. message_id, email_id or duration(seconds) of call) (projection)
2805 public const uint ExtraData1 = (uint)PropertyIds.PhonelogExtraData1;
2807 /// You can set the related string data (e.g. short message, subject) (projection)
2809 public const uint ExtraData2 = (uint)PropertyIds.PhonelogExtraData2;
2811 /// You can only use this property for search filter
2813 public const uint NormalizedAddress = (uint)PropertyIds.PhonelogNormalizedAddress;
2815 /// You can only use this property for search filter
2817 public const uint CleanedAddress = (uint)PropertyIds.PhonelogCleanedAddress;
2819 /// You can only use this property for search filter
2821 public const uint AddressFilter = (uint)PropertyIds.PhonelogAddressFilter;
2823 /// 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()
2825 public const uint SIMSlotNo = (uint)PropertyIds.PhonelogSIMSlotNo;
2831 /// <remarks>Read only view</remarks>
2832 public static class PersonUsage
2835 /// Identifier of this person usage view
2837 public const string Uri = "tizen.contacts_view.person/usag";
2839 /// DB record ID of the person
2841 public const uint PersonId = (uint)PropertyIds.PersonId;
2843 /// Display name of the person
2845 public const uint DisplayName = (uint)PropertyIds.PersonDisplayName;
2847 /// The first character of first string for grouping. This is normalized using icu (projection)
2849 public const uint DisplayNameIndex = (uint)PropertyIds.PersonDisplayNameIndex;
2851 /// Display contact ID that the person belongs to (projection)
2853 public const uint DisplayContactId = (uint)PropertyIds.PersonDisplayContactId;
2855 /// Ringtone path of the person (projection)
2857 public const uint RingtonePath = (uint)PropertyIds.PersonRingtone;
2859 /// Image thumbnail path of the person (projection)
2861 public const uint ThumbnailPath = (uint)PropertyIds.PersonThumbnail;
2863 /// Vibration path of the person (projection)
2865 public const uint Vibration = (uint)PropertyIds.PersonVibration;
2867 /// Message alert path of the person (projection)
2869 public const uint MessageAlert = (uint)PropertyIds.PersonMessageAlert;
2871 /// The person is favorite or not
2873 public const uint IsFavorite = (uint)PropertyIds.PersonIsFavorite;
2875 /// The person has phone number or not
2877 public const uint HasPhonenumber = (uint)PropertyIds.PersonHasPhonenumber;
2879 /// The person has email or not
2881 public const uint HasEmail = (uint)PropertyIds.PersonHasEmail;
2883 /// Usage type, refer to the UsageTypes
2885 public const uint UsageType = (uint)PropertyIds.PersonUsageType;
2887 /// Usage number of person
2889 public const uint TimesUsed = (uint)PropertyIds.PersonTimesUsed;
2902 /// Outgoing message
2914 /// Incoming message
2943 /// <remarks>Read only view</remarks>
2944 public static class ContactNumber
2947 /// Identifier of this contacts number view
2949 public const string Uri = "tizen.contacts_view.simple_contact/number";
2951 /// Contact ID that the number belongs to
2953 public const uint ContactId = (uint)PropertyIds.ContactId;
2955 /// Display name of contact that the number belongs to
2957 public const uint DisplayName = (uint)PropertyIds.ContactDisplayName;
2959 /// The source type of display name, refer to the Contact.DisplayNameSourceTypes (projection)
2961 public const uint DisplaySourceType = (uint)PropertyIds.ContactDisplaySourceDataId;
2963 /// Addressbook ID that the number belongs to
2965 public const uint AddressbookId = (uint)PropertyIds.ContactAddressbookId;
2967 /// Person ID that the number belongs to
2969 public const uint PersonId = (uint)PropertyIds.ContactPersonId;
2971 /// Ringtone path that the number belongs to (projection)
2973 public const uint RingtonePath = (uint)PropertyIds.ContactRingtone;
2975 /// Image thumbnail path that the number belongs to (projection)
2977 public const uint ThumbnailPath = (uint)PropertyIds.ContactThumbnail;
2979 /// DB record ID of the number
2981 public const uint NumberId = (uint)PropertyIds.NumberId;
2983 /// Number type, refer to the Number.Types (projection)
2985 public const uint Type = (uint)PropertyIds.NumberType;
2987 /// Custom number type label, when the number type is Number.Types.Custom (projection)
2989 public const uint Label = (uint)PropertyIds.NumberLabel;
2991 /// The number is default number or not
2993 public const uint IsDefault = (uint)PropertyIds.NumberIsDefault;
2997 public const uint Number = (uint)PropertyIds.NumberNumber;
2999 /// 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
3001 public const uint NumberFilter = (uint)PropertyIds.NumberNumberFilter;
3003 /// You can only use this property for search filter
3005 public const uint NormalizedNumber = (uint)PropertyIds.NumberNormalizedNumber;
3007 /// You can only use this property for search filter
3009 public const uint CleanedNumber = (uint)PropertyIds.NumberCleanedNumber;
3015 /// <remarks>Read only view</remarks>
3016 public static class ContactEmail
3019 /// Identifier of this contacts email view
3021 public const string Uri = "tizen.contacts_view.simple_contact/email";
3023 /// Contact ID that the number belongs to
3025 public const uint ContactId = (uint)PropertyIds.ContactId;
3027 /// Display name of contact that the number belongs to
3029 public const uint DisplayName = (uint)PropertyIds.ContactDisplayName;
3031 /// The source type of display name, refer to the Contact.DisplayNameSourceTypes (projection)
3033 public const uint DisplaySourceType = (uint)PropertyIds.ContactDisplaySourceDataId;
3035 /// Addressbook ID that the number belongs to
3037 public const uint AddressbookId = (uint)PropertyIds.ContactAddressbookId;
3039 /// Person ID that the number belongs to
3041 public const uint PersonId = (uint)PropertyIds.ContactPersonId;
3043 /// Ringtone path that the number belongs to (projection)
3045 public const uint RingtonePath = (uint)PropertyIds.ContactRingtone;
3047 /// Image thumbnail path that the number belongs to (projection)
3049 public const uint ThumbnailPath = (uint)PropertyIds.ContactThumbnail;
3051 /// DB record ID of the email
3053 public const uint EmailId = (uint)PropertyIds.EmailId;
3055 /// Email type, refer to the Email.Types (projection)
3057 public const uint Type = (uint)PropertyIds.EmailType;
3059 /// Custom mail type label, when the email type is Email.Types.Custom (projection)
3061 public const uint Label = (uint)PropertyIds.EmailLabel;
3063 /// Email is default email or not
3065 public const uint IsDefault = (uint)PropertyIds.EmailIsDefault;
3069 public const uint Email = (uint)PropertyIds.EmailEmail;
3075 /// <remarks>Read only view</remarks>
3076 public static class ContactGroupRelation
3079 /// Identifier of this contact grouprel view
3081 public const string Uri = "tizen.contacts_view.simple_contact/group";
3083 /// Contact ID that the number belongs to
3085 public const uint ContactId = (uint)PropertyIds.ContactId;
3087 /// Display name of contact that the number belongs to
3089 public const uint DisplayName = (uint)PropertyIds.ContactDisplayName;
3091 /// The source type of display name, refer to the Contact.DisplayNameSourceTypes (projection)
3093 public const uint DisplaySourceType = (uint)PropertyIds.ContactDisplaySourceDataId;
3095 /// Addressbook ID that the number belongs to
3097 public const uint AddressbookId = (uint)PropertyIds.ContactAddressbookId;
3099 /// Person ID that the number belongs to
3101 public const uint PersonId = (uint)PropertyIds.ContactPersonId;
3103 /// Ringtone path that the number belongs to (projection)
3105 public const uint RingtonePath = (uint)PropertyIds.ContactRingtone;
3107 /// Image thumbnail path that the number belongs to (projection)
3109 public const uint ThumbnailPath = (uint)PropertyIds.ContactThumbnail;
3111 /// DB record ID of the group relation
3113 public const uint GroupId = (uint)PropertyIds.GroupRelationGroupId;
3115 /// Group name (projection)
3117 public const uint GroupName = (uint)PropertyIds.GroupRelationGroupName;
3123 /// <remarks>Read only view</remarks>
3124 public static class PhonelogStatistics
3127 /// Identifier of this log statistics view
3129 public const string Uri = "tizen.contacts_view.phonelog_stat";
3131 /// Log count (projection)
3133 public const uint LogCount = (uint)PropertyIds.PhonelogStatLogCount;
3135 /// Log type, see the contacts_phone_log_type_e
3137 public const uint LogType = (uint)PropertyIds.PhonelogStatLogType;
3139 /// 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()
3141 public const uint SIMSlotNo = (uint)PropertyIds.PhonelogStatSIMSlotNo;