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.
19 using System.Diagnostics.CodeAnalysis;
21 namespace Tizen.Pims.Contacts
24 /// This namespace provides information about views with properties.
27 /// Views are provided to access and handle entities. A view is a structure, which has property elements.
28 /// A view is almost the same as a database "VIEW", which limits access and guarantees performance.
29 /// A "record" represents a single row of the views.
30 /// A record can have basic properties of five types: integer, string, boolean, long, double.
32 namespace ContactsViews
34 internal static class Property
36 private const uint AddressBook = 0x00100000;
37 private const uint Group = 0x00200000;
38 private const uint Person = 0x00300000;
39 private const uint Data = 0x00600000;
40 private const uint SpeedDial = 0x00700000;
41 private const uint Phonelog = 0x00800000;
42 private const uint UpdateInfo = 0x00900000;
43 private const uint PhonelogStat = 0x00B00000;
45 private const uint Contact = 0x01000000;
46 private const uint Name = 0x01100000;
47 private const uint Number = 0x01200000;
48 private const uint Email = 0x01300000;
49 private const uint Address = 0x01400000;
50 private const uint URL = 0x01500000;
51 private const uint Event = 0x01600000;
52 private const uint GroupRelation = 0x01700000;
53 private const uint Relationship = 0x01800000;
54 private const uint Company = 0x01900000;
55 private const uint Nickname = 0x01A00000;
56 private const uint Messenger = 0x01B00000;
57 private const uint Note = 0x01C00000;
58 private const uint Profile = 0x01D00000;
59 private const uint Image = 0x01E00000;
60 private const uint Extension = 0x01F00000;
61 private const uint MyProfile = 0x02000000;
62 private const uint ActivityPhoto = 0x02100000;
63 private const uint Sip = 0x02200000;
65 /* data_type mask 0x000FF000 */
66 private const uint DataTypeBool = 0x00010000;
67 private const uint DataTypeInt = 0x00020000;
68 private const uint DataTypeLong = 0x00030000;
69 private const uint DataTypeString = 0x00040000;
70 private const uint DataTypeDouble = 0x00050000;
71 private const uint DataTypeRecord = 0x00060000;
73 private const uint ReadOnly = 0x00001000;
75 internal enum Id : uint
80 AddressBookId = (AddressBook | DataTypeInt | ReadOnly),
81 AddressBookAccountId = (AddressBook | DataTypeInt) + 1,
82 AddressBookName = (AddressBook | DataTypeString) + 2,
83 AddressBookMode = (AddressBook | DataTypeInt) + 3,
86 GroupId = (Group | DataTypeInt | ReadOnly),
87 GroupAddressBookId = (Group | DataTypeInt) + 1,
88 GroupName = (Group | DataTypeString) + 2,
89 GroupRingtone = (Group | DataTypeString) + 3,
90 GroupImage = (Group | DataTypeString) + 4,
91 GroupVibration = (Group | DataTypeString) + 5,
92 GroupExtraData = (Group | DataTypeString) + 6,
93 GroupIsReadOnly = (Group | DataTypeBool) + 7,
94 GroupMessageAlert = (Group | DataTypeString) + 8,
97 PersonId = (Person | DataTypeInt | ReadOnly),
98 PersonDisplayName = (Person | DataTypeString | ReadOnly) + 1,
99 PersonDisplayContactId = (Person | DataTypeInt) + 2,
100 PersonRingtone = (Person | DataTypeString) + 3,
101 PersonThumbnail = (Person | DataTypeString | ReadOnly) + 4,
102 PersonVibration = (Person | DataTypeString) + 5,
103 PersonIsFavorite = (Person | DataTypeBool) + 6,
104 PersonFavoritePriority = (Person | DataTypeDouble | ReadOnly) + 7,
105 PersonLinkCount = (Person | DataTypeInt | ReadOnly) + 8,
106 PersonAddressBookIds = (Person | DataTypeString | ReadOnly) + 9,
107 PersonHasPhoneNumber = (Person | DataTypeBool | ReadOnly) + 10,
108 PersonHasEmail = (Person | DataTypeBool | ReadOnly) + 11,
109 PersonDisplayNameIndex = (Person | DataTypeString | ReadOnly) + 12,
110 PersonStatus = (Person | DataTypeString | ReadOnly) + 13,
111 PersonMessageAlert = (Person | DataTypeString) + 14,
112 PersonSnippetType = (Person | DataTypeInt | ReadOnly) + 15,
113 PersonSnippetString = (Person | DataTypeString | ReadOnly) + 16,
116 PersonUsageType = (Person | DataTypeInt) + 100,
117 PersonTimesUsed = (Person | DataTypeInt) + 101,
119 /* simple contact : read only */
121 ContactId = (Contact | DataTypeInt | ReadOnly),
122 ContactDisplayName = (Contact | DataTypeString | ReadOnly) + 1,
123 ContactDisplaySourceDataId = (Contact | DataTypeInt | ReadOnly) + 2,
124 ContactAddressBookId = (Contact | DataTypeInt) + 3,
125 ContactRingtone = (Contact | DataTypeString) + 4,
126 ContactImage = (Contact | DataTypeRecord) + 5,
127 ContactThumbnail = (Contact | DataTypeString | ReadOnly) + 6,
128 ContactIsFavorite = (Contact | DataTypeBool) + 7,
129 ContactHasPhoneNumber = (Contact | DataTypeBool | ReadOnly) + 8,
130 ContactHasEmail = (Contact | DataTypeBool | ReadOnly) + 9,
131 ContactPersonId = (Contact | DataTypeInt) + 10,
132 ContactUId = (Contact | DataTypeString) + 11,
133 ContactVibration = (Contact | DataTypeString) + 12,
134 ContactChangedTime = (Contact | DataTypeInt | ReadOnly) + 13,
135 ContactName = (Contact | DataTypeRecord) + 14,
136 ContactCompany = (Contact | DataTypeRecord) + 15,
137 ContactNote = (Contact | DataTypeRecord) + 16,
138 ContactNumber = (Contact | DataTypeRecord) + 17,
139 ContactEmail = (Contact | DataTypeRecord) + 18,
140 ContactEvent = (Contact | DataTypeRecord) + 19,
141 ContactMessenger = (Contact | DataTypeRecord) + 20,
142 ContactAddress = (Contact | DataTypeRecord) + 21,
143 ContactURL = (Contact | DataTypeRecord) + 22,
144 ContactNickname = (Contact | DataTypeRecord) + 23,
145 ContactProfile = (Contact | DataTypeRecord) + 24,
146 ContactRelationship = (Contact | DataTypeRecord) + 25,
147 ContactGroupRelation = (Contact | DataTypeRecord) + 26,
148 ContactExtension = (Contact | DataTypeRecord) + 27,
149 ContactLinkMode = (Contact | DataTypeInt) + 28,
150 ContactMessageAlert = (Contact | DataTypeString) + 29,
151 ContactSip = (Contact | DataTypeRecord) + 30,
154 MyProfileId = (MyProfile | DataTypeInt | ReadOnly),
155 MyProfileDisplayName = (MyProfile | DataTypeString | ReadOnly) + 1,
156 MyProfileAddressBookId = (MyProfile | DataTypeInt) + 2,
157 MyProfileImage = (MyProfile | DataTypeRecord) + 3,
158 MyProfileThumbnail = (MyProfile | DataTypeString | ReadOnly) + 4,
159 MyProfileUId = (MyProfile | DataTypeString) + 5,
160 MyProfileChangedTime = (MyProfile | DataTypeInt) + 6,
161 MyProfileName = (MyProfile | DataTypeRecord) + 7,
162 MyProfileCompany = (MyProfile | DataTypeRecord) + 8,
163 MyProfileNote = (MyProfile | DataTypeRecord) + 9,
164 MyProfileNumber = (MyProfile | DataTypeRecord) + 10,
165 MyProfileEmail = (MyProfile | DataTypeRecord) + 11,
166 MyProfileEvent = (MyProfile | DataTypeRecord) + 12,
167 MyProfileMessenger = (MyProfile | DataTypeRecord) + 13,
168 MyProfileAddress = (MyProfile | DataTypeRecord) + 14,
169 MyProfileURL = (MyProfile | DataTypeRecord) + 15,
170 MyProfileNickname = (MyProfile | DataTypeRecord) + 16,
171 MyProfileProfile = (MyProfile | DataTypeRecord) + 17,
172 MyProfileRelationship = (MyProfile | DataTypeRecord) + 18,
173 MyProfileExtension = (MyProfile | DataTypeRecord) + 19,
174 MyProfileSip = (MyProfile | DataTypeRecord) + 20,
177 DataId = (Data | DataTypeInt),
178 DataContactId = (Data | DataTypeInt) + 1,
179 DataType = (Data | DataTypeInt) + 2,
180 DataIsPrimaryDefault = (Data | DataTypeBool) + 3,
181 DataIsDefault = (Data | DataTypeBool) + 4,
182 DataData1 = (Data | DataTypeInt) + 5,
183 DataData2 = (Data | DataTypeString) + 6,
184 DataData3 = (Data | DataTypeString) + 7,
185 DataData4 = (Data | DataTypeString) + 8,
186 DataData5 = (Data | DataTypeString) + 9,
187 DataData6 = (Data | DataTypeString) + 10,
188 DataData7 = (Data | DataTypeString) + 11,
189 DataData8 = (Data | DataTypeString) + 12,
190 DataData9 = (Data | DataTypeString) + 13,
191 DataData10 = (Data | DataTypeString) + 14,
194 NameId = (Name | DataTypeInt | ReadOnly),
195 NameContactId = (Name | DataTypeInt) + 1,
196 NameFirst = (Name | DataTypeString) + 2,
197 NameLast = (Name | DataTypeString) + 3,
198 NameAddition = (Name | DataTypeString) + 4,
199 NameSuffix = (Name | DataTypeString) + 5,
200 NamePrefix = (Name | DataTypeString) + 6,
201 NamePhoneticFirst = (Name | DataTypeString) + 7,
202 NamePhoneticMiddle = (Name | DataTypeString) + 8,
203 NamePhoneticLast = (Name | DataTypeString) + 9,
206 NumberId = (Number | DataTypeInt | ReadOnly),
207 NumberContactId = (Number | DataTypeInt) + 1,
208 NumberType = (Number | DataTypeInt) + 2,
209 NumberLabel = (Number | DataTypeString) + 3,
210 NumberIsDefault = (Number | DataTypeBool) + 4,
211 NumberNumber = (Number | DataTypeString) + 5,
212 NumberNumberFilter = (Number | DataTypeString) + 6,
213 NumberNormalizedNumber = (Number | DataTypeString | ReadOnly) + 7,
214 NumberCleanedNumber = (Number | DataTypeString | ReadOnly) + 8,
217 EmailId = (Email | DataTypeInt | ReadOnly),
218 EmailContactId = (Email | DataTypeInt) + 1,
219 EmailType = (Email | DataTypeInt) + 2,
220 EmailLabel = (Email | DataTypeString) + 3,
221 EmailIsDefault = (Email | DataTypeBool) + 4,
222 EmailEmail = (Email | DataTypeString) + 5,
224 /* contact_address */
225 AddressId = (Address | DataTypeInt | ReadOnly),
226 AddressContactId = (Address | DataTypeInt) + 1,
227 AddressType = (Address | DataTypeInt) + 2,
228 AddressLabel = (Address | DataTypeString) + 3,
229 AddressPostbox = (Address | DataTypeString) + 4,
230 AddressPostalCode = (Address | DataTypeString) + 5,
231 AddressRegion = (Address | DataTypeString) + 6,
232 AddressLocality = (Address | DataTypeString) + 7,
233 AddressStreet = (Address | DataTypeString) + 8,
234 AddressCountry = (Address | DataTypeString) + 9,
235 AddressExtended = (Address | DataTypeString) + 10,
236 AddressIsDefault = (Address | DataTypeBool) + 11,
239 URLId = (URL | DataTypeInt | ReadOnly),
240 URLContactId = (URL | DataTypeInt) + 1,
241 URLType = (URL | DataTypeInt) + 2,
242 URLLabel = (URL | DataTypeString) + 3,
243 URLData = (URL | DataTypeString) + 4,
246 EventId = (Event | DataTypeInt | ReadOnly),
247 EventContactId = (Event | DataTypeInt) + 1,
248 EventType = (Event | DataTypeInt) + 2,
249 EventLabel = (Event | DataTypeString) + 3,
250 EventDate = (Event | DataTypeInt) + 4,
251 EventCalendarType = (Event | DataTypeInt) + 5,
252 EventIsLeapMonth = (Event | DataTypeBool) + 6,
254 /* contact_grouprelation */
255 GroupRelationId = (GroupRelation | DataTypeInt | ReadOnly),
256 GroupRelationGroupId = (GroupRelation | DataTypeInt) + 1,
257 GroupRelationContactId = (GroupRelation | DataTypeInt) + 2,
258 GroupRelationGroupName = (GroupRelation | DataTypeString) + 3,
260 /* contact_relationship */
261 RelationshipId = (Relationship | DataTypeInt | ReadOnly),
262 RelationshipContactId = (Relationship | DataTypeInt) + 1,
263 RelationshipType = (Relationship | DataTypeInt) + 2,
264 RelationshipLabel = (Relationship | DataTypeString) + 3,
265 RelationshipName = (Relationship | DataTypeString) + 4,
268 ImageId = (Image | DataTypeInt | ReadOnly),
269 ImageContactId = (Image | DataTypeInt) + 1,
270 ImageType = (Image | DataTypeInt) + 2,
271 ImageLabel = (Image | DataTypeString) + 3,
272 ImagePath = (Image | DataTypeString) + 4,
273 ImageIsDefault = (Image | DataTypeBool) + 5,
275 /* contact_company */
276 CompanyId = (Company | DataTypeInt | ReadOnly),
277 CompanyContactId = (Company | DataTypeInt) + 1,
278 CompanyType = (Company | DataTypeInt) + 2,
279 CompanyLabel = (Company | DataTypeString) + 3,
280 CompanyName = (Company | DataTypeString) + 4,
281 CompanyDepartment = (Company | DataTypeString) + 5,
282 CompanyJobTitle = (Company | DataTypeString) + 6,
283 CompanyRole = (Company | DataTypeString) + 7,
284 CompanyAssistantName = (Company | DataTypeString) + 8,
285 CompanyLogo = (Company | DataTypeString) + 9,
286 CompanyLocation = (Company | DataTypeString) + 10,
287 CompanyDescription = (Company | DataTypeString) + 11,
288 CompanyPhoneticName = (Company | DataTypeString) + 12,
290 /* contact_nickname */
291 NicknameId = (Nickname | DataTypeInt | ReadOnly),
292 NicknameContactId = (Nickname | DataTypeInt) + 1,
293 NicknameName = (Nickname | DataTypeString) + 2,
295 /* contact_messenger */
296 MessengerId = (Messenger | DataTypeInt | ReadOnly),
297 MessengerContactId = (Messenger | DataTypeInt) + 1,
298 MessengerType = (Messenger | DataTypeInt) + 2,
299 MessengerLabel = (Messenger | DataTypeString) + 3,
300 MessengerIMId = (Messenger | DataTypeString) + 4,
303 NoteId = (Note | DataTypeInt | ReadOnly),
304 NoteContactId = (Note | DataTypeInt) + 1,
305 NoteNote = (Note | DataTypeString) + 2,
308 SipId = (Sip | DataTypeInt | ReadOnly),
309 SipContactId = (Sip | DataTypeInt) + 1,
310 SipAddress = (Sip | DataTypeString) + 2,
311 SipType = (Sip | DataTypeInt) + 3,
312 SipLabel = (Sip | DataTypeString) + 4,
314 /* contact_profile */
315 ProfileId = (Profile | DataTypeInt | ReadOnly),
316 ProfileContactId = (Profile | DataTypeInt) + 1,
317 ProfileUId = (Profile | DataTypeString) + 2,
318 ProfileText = (Profile | DataTypeString) + 3,
319 ProfileOrder = (Profile | DataTypeInt) + 4,
320 ProfileServiceOperation = (Profile | DataTypeString) + 5,
321 ProfileMIME = (Profile | DataTypeString) + 6,
322 ProfileAppId = (Profile | DataTypeString) + 7,
323 ProfileUri = (Profile | DataTypeString) + 8,
324 ProfileCategory = (Profile | DataTypeString) + 9,
325 ProfileExtraData = (Profile | DataTypeString) + 10,
327 ExtensionId = (Extension | DataTypeInt | ReadOnly),
328 ExtensionContactId = (Extension | DataTypeInt) + 1,
329 ExtensionData1 = (Extension | DataTypeInt) + 2,
330 ExtensionData2 = (Extension | DataTypeString) + 3,
331 ExtensionData3 = (Extension | DataTypeString) + 4,
332 ExtensionData4 = (Extension | DataTypeString) + 5,
333 ExtensionData5 = (Extension | DataTypeString) + 6,
334 ExtensionData6 = (Extension | DataTypeString) + 7,
335 ExtensionData7 = (Extension | DataTypeString) + 8,
336 ExtensionData8 = (Extension | DataTypeString) + 9,
337 ExtensionData9 = (Extension | DataTypeString) + 10,
338 ExtensionData10 = (Extension | DataTypeString) + 11,
339 ExtensionData11 = (Extension | DataTypeString) + 12,
340 ExtensionData12 = (Extension | DataTypeString) + 13,
343 SpeedDialDialNumber = (SpeedDial | DataTypeInt),
344 SpeedDialNumberId = (SpeedDial | DataTypeInt) + 1,
345 SpeedDialNumber = (SpeedDial | DataTypeString | ReadOnly) + 2,
346 SpeedDialNumberLabel = (SpeedDial | DataTypeString | ReadOnly) + 3,
347 SpeedDialNumberType = (SpeedDial | DataTypeInt | ReadOnly) + 4,
348 SpeedDialPersonId = (SpeedDial | DataTypeInt | ReadOnly) + 5,
349 SpeedDialDisplayName = (SpeedDial | DataTypeString | ReadOnly) + 6,
350 SpeedDialThumbnail = (SpeedDial | DataTypeString | ReadOnly) + 7,
351 SpeedDialNormalizedNumber = (SpeedDial | DataTypeString | ReadOnly) + 8,
352 SpeedDialCleanedNumber = (SpeedDial | DataTypeString | ReadOnly) + 9,
353 SpeedDialNumberFilter = (SpeedDial | DataTypeString | ReadOnly) + 10,
356 PhonelogId = (Phonelog | DataTypeInt | ReadOnly),
357 PhonelogPersonId = (Phonelog | DataTypeInt) + 1,
358 PhonelogAddress = (Phonelog | DataTypeString) + 2,
359 PhonelogLogTime = (Phonelog | DataTypeInt) + 3,
360 PhonelogLogType = (Phonelog | DataTypeInt) + 4,
361 PhonelogExtraData1 = (Phonelog | DataTypeInt) + 5,
362 PhonelogExtraData2 = (Phonelog | DataTypeString) + 6,
363 PhonelogNormalizedAddress = (Phonelog | DataTypeString | ReadOnly) + 7,
364 PhonelogCleanedAddress = (Phonelog | DataTypeString | ReadOnly) + 8,
365 PhonelogAddressFilter = (Phonelog | DataTypeString | ReadOnly) + 9,
366 PhonelogSIMSlotNo = (Phonelog | DataTypeInt) + 10,
369 PhonelogStatLogCount = (PhonelogStat | DataTypeInt | ReadOnly),
370 PhonelogStatLogType = (PhonelogStat | DataTypeInt | ReadOnly) + 1,
371 PhonelogStatSIMSlotNo = (PhonelogStat | DataTypeInt | ReadOnly) + 2,
373 /* updated_info : read only */
374 UpdateInfoId = (UpdateInfo | DataTypeInt),
375 UpdateInfoAddressBookId = (UpdateInfo | DataTypeInt) + 1,
376 UpdateInfoType = (UpdateInfo | DataTypeInt) + 2,
377 UpdateInfoVersion = (UpdateInfo | DataTypeInt) + 3,
378 UpdateInfoImageChanged = (UpdateInfo | DataTypeBool) + 4,
379 UpdateInfoLastChangedType = (UpdateInfo | DataTypeInt) + 5,
383 internal static class Record
385 internal const uint AverageSize = 120; /* average size of person record */
389 /// Enumeration for contact change state.
391 public enum ChangeType
408 /// Describes properties of a Address book record.
410 public static class AddressBook
413 /// Identifier of this contacts address book view
415 public const string Uri = "tizen.contacts_view.addressbook";
417 /// integer, read only, DB record ID of the address book
419 public const uint Id = (uint)Property.Id.AddressBookId;
421 /// integer, read/write once, Account ID that the address book belongs to
423 public const uint AccountId = (uint)Property.Id.AddressBookAccountId;
425 /// string, read/write, It cannot be NULL. Duplicate names are not allowed.
427 public const uint Name = (uint)Property.Id.AddressBookName;
429 /// integer, read/write, AddressBook mode, refer to the ModeValue
431 public const uint Mode = (uint)Property.Id.AddressBookMode;
434 /// Enumeration for Address book mode.
436 public enum ModeValue
439 /// All module can read and write contacts of this address_book
443 /// All module can only read contacts of this address_book
450 /// Describes properties of a Group record.
452 public static class Group
455 /// Identifier of this contacts group view
457 public const string Uri = "tizen.contacts_view.group";
459 /// DB record ID of the group
461 public const uint Id = (uint)Property.Id.GroupId;
463 /// AddressBook ID that the group belongs to
465 public const uint AddressBookId = (uint)Property.Id.GroupAddressBookId;
469 public const uint Name = (uint)Property.Id.GroupName;
471 /// Ringtone path of the group
473 public const uint RingtonePath = (uint)Property.Id.GroupRingtone;
475 /// Image path of the group
477 public const uint ImagePath = (uint)Property.Id.GroupImage;
479 /// Vibration path of the group
481 public const uint Vibration = (uint)Property.Id.GroupVibration;
483 /// Extra data for default group name
485 public const uint ExtraData = (uint)Property.Id.GroupExtraData;
487 /// The group is read only or not
489 public const uint IsReadOnly = (uint)Property.Id.GroupIsReadOnly;
491 /// Message alert path of the group
493 public const uint MessageAlert = (uint)Property.Id.GroupMessageAlert;
497 /// Describes properties of a Person record.
499 public static class Person
502 /// Identifier of this contacts person view
504 public const string Uri = "tizen.contacts_view.person";
506 /// DB record ID of the person
508 public const uint Id = (uint)Property.Id.PersonId;
510 /// Display name of the person
512 public const uint DisplayName = (uint)Property.Id.PersonDisplayName;
514 /// The first character of first string for grouping. This is normalized using ICU (projection)
516 public const uint DisplayNameIndex = (uint)Property.Id.PersonDisplayNameIndex;
518 /// Display contact ID that the person belongs to
520 public const uint DisplayContactId = (uint)Property.Id.PersonDisplayContactId;
522 /// Ringtone path of the person
524 public const uint RingtonePath = (uint)Property.Id.PersonRingtone;
526 /// Image thumbnail path of the person
528 public const uint ThumbnailPath = (uint)Property.Id.PersonThumbnail;
530 /// Vibration path of the person
532 public const uint Vibration = (uint)Property.Id.PersonVibration;
534 /// Message alert path of the person
536 public const uint MessageAlert = (uint)Property.Id.PersonMessageAlert;
538 /// Status of social account
540 public const uint Status = (uint)Property.Id.PersonStatus;
542 /// The person is favorite or not
544 public const uint IsFavorite = (uint)Property.Id.PersonIsFavorite;
546 /// The priority of favorite contacts. it can be used as sorting key
548 public const uint FavoritePriority = (uint)Property.Id.PersonFavoritePriority;
550 /// Link count of contact records (projection)
552 public const uint LinkCount = (uint)Property.Id.PersonLinkCount;
554 /// AddressBook IDs that the person belongs to (projection)
556 public const uint AddressBookIds = (uint)Property.Id.PersonAddressBookIds;
558 /// The person has phone number or not
560 public const uint HasPhoneNumber = (uint)Property.Id.PersonHasPhoneNumber;
562 /// The person has email or not
564 public const uint HasEmail = (uint)Property.Id.PersonHasEmail;
566 /// keyword matched data type
568 public const uint SnippetType = (uint)Property.Id.PersonSnippetType;
570 /// keyword matched data string
572 public const uint SnippetString = (uint)Property.Id.PersonSnippetString;
576 /// Describes properties of a Contact record.
578 public static class Contact
581 /// Identifier of this contact view
583 public const string Uri = "tizen.contacts_view.contact";
585 /// DB record ID of the contact
587 public const uint Id = (uint)Property.Id.ContactId;
589 /// Display name of the contact
591 public const uint DisplayName = (uint)Property.Id.ContactDisplayName;
593 /// The source type of display name, refer to the DisplayNameSourceType
595 public const uint DisplaySourceType = (uint)Property.Id.ContactDisplaySourceDataId;
597 /// AddressBook ID that the contact belongs to
599 public const uint AddressBookId = (uint)Property.Id.ContactAddressBookId;
601 /// Ringtone path of the contact
603 public const uint RingtonePath = (uint)Property.Id.ContactRingtone;
605 /// Image thumbnail path of the contact
607 public const uint ThumbnailPath = (uint)Property.Id.ContactThumbnail;
609 /// The contact is favorite or not
611 public const uint IsFavorite = (uint)Property.Id.ContactIsFavorite;
613 /// The contact has phone number or not
615 public const uint HasPhoneNumber = (uint)Property.Id.ContactHasPhoneNumber;
617 /// The contact has email or not
619 public const uint HasEmail = (uint)Property.Id.ContactHasEmail;
621 /// Person ID that the contact belongs to. If set when inserting, a contact will be linked to person
623 public const uint PersonId = (uint)Property.Id.ContactPersonId;
625 /// Unique identifier
627 public const uint UId = (uint)Property.Id.ContactUId;
629 /// Vibration path of the contact
631 public const uint Vibration = (uint)Property.Id.ContactVibration;
633 /// Message alert path of the contact
635 public const uint MessageAlert = (uint)Property.Id.ContactMessageAlert;
637 /// Last changed contact time
639 public const uint ChangedTime = (uint)Property.Id.ContactChangedTime;
641 /// The link mode, refer to the LinkModeValue. If the person_id was set, this value will be ignored
643 public const uint LinkMode = (uint)Property.Id.ContactLinkMode;
645 /// Name child record (single)
647 public const uint Name = (uint)Property.Id.ContactName;
649 /// Company child record (multiple)
651 public const uint Company = (uint)Property.Id.ContactCompany;
653 /// Note child record (multiple)
655 public const uint Note = (uint)Property.Id.ContactNote;
657 /// Number child record (multiple)
659 public const uint Number = (uint)Property.Id.ContactNumber;
661 /// Email child record (multiple)
663 public const uint Email = (uint)Property.Id.ContactEmail;
665 /// Event child record (multiple)
667 public const uint Event = (uint)Property.Id.ContactEvent;
669 /// Messenger child record (multiple)
671 public const uint Messenger = (uint)Property.Id.ContactMessenger;
673 /// Address child record (multiple)
675 public const uint Address = (uint)Property.Id.ContactAddress;
677 /// URL child record (multiple)
679 public const uint URL = (uint)Property.Id.ContactURL;
681 /// Nickname child record (multiple)
683 public const uint Nickname = (uint)Property.Id.ContactNickname;
685 /// Profile child record (multiple)
687 public const uint Profile = (uint)Property.Id.ContactProfile;
689 /// Relationship child record (multiple)
691 public const uint Relationship = (uint)Property.Id.ContactRelationship;
693 /// Image child record (multiple)
695 public const uint Image = (uint)Property.Id.ContactImage;
697 /// GroupRelation child record (multiple)
699 public const uint GroupRelation = (uint)Property.Id.ContactGroupRelation;
701 /// Extension child record (multiple)
703 public const uint Extension = (uint)Property.Id.ContactExtension;
705 /// Sip child record (multiple)
707 public const uint Sip = (uint)Property.Id.ContactSip;
710 /// Enumeration for link mode when inserting contact.
712 public enum LinkModeValue
715 /// Auto link immediately
719 /// Do not auto link when the contact is inserted
725 /// Enumeration for Contact display name source type.
727 public enum DisplayNameSourceType
730 /// Invalid source of display name
734 /// Produced display name from email record
738 /// Produced display name from number record
742 /// Produced display name from nickname record
746 /// Produced display name from company record
750 /// Produced display name from name record
756 /// Enumeration for contacts data type.
828 /// Describes properties of a Simple contact record.
830 public static class SimpleContact
833 /// Identifier of this simple contact view
835 public const string Uri = "tizen.contacts_view.simple_contact";
837 /// DB record ID of the contact
839 public const uint Id = (uint)Property.Id.ContactId;
841 /// Display name of the contact
843 public const uint DisplayName = (uint)Property.Id.ContactDisplayName;
845 /// The source type of display name, refer to the Contact.DisplayNameSourceType
847 public const uint DisplaySourceType = (uint)Property.Id.ContactDisplaySourceDataId;
849 /// AddressBook that the contact belongs to
851 public const uint AddressBookId = (uint)Property.Id.ContactAddressBookId;
853 /// Ringtone path of the contact
855 public const uint RingtonePath = (uint)Property.Id.ContactRingtone;
857 /// Image thumbnail path of the contact
859 public const uint ThumbnailPath = (uint)Property.Id.ContactThumbnail;
861 /// The contact is favorite or not
863 public const uint IsFavorite = (uint)Property.Id.ContactIsFavorite;
865 /// The contact has phone number or not
867 public const uint HasPhoneNumber = (uint)Property.Id.ContactHasPhoneNumber;
869 /// The contact has email or not
871 public const uint HasEmail = (uint)Property.Id.ContactHasEmail;
873 /// Person ID that the contact belongs to
875 public const uint PersonId = (uint)Property.Id.ContactPersonId;
877 /// Unique identifier
879 public const uint UId = (uint)Property.Id.ContactUId;
881 /// Vibration path of the contact
883 public const uint Vibration = (uint)Property.Id.ContactVibration;
885 /// Message alert path of the contact
887 public const uint MessageAlert = (uint)Property.Id.ContactMessageAlert;
889 /// Last changed contact time
891 public const uint ChangedTime = (uint)Property.Id.ContactChangedTime;
895 /// Describes properties of a My profile record.
897 public static class MyProfile
900 /// Identifier of this my profile view
902 public const string Uri = "tizen.contacts_view.my_profile";
904 /// DB record ID of the my profile
906 public const uint Id = (uint)Property.Id.MyProfileId;
908 /// Display name of the profile
910 public const uint DisplayName = (uint)Property.Id.MyProfileDisplayName;
912 /// AddressBook ID that the profile belongs to
914 public const uint AddressBookId = (uint)Property.Id.MyProfileAddressBookId;
916 /// Image thumbnail path of the profile
918 public const uint ThumbnailPath = (uint)Property.Id.MyProfileThumbnail;
920 /// Unique identifier
922 public const uint UId = (uint)Property.Id.MyProfileUId;
924 /// Last changed profile time
926 public const uint ChangedTime = (uint)Property.Id.MyProfileChangedTime;
928 /// Name child record (single)
930 public const uint Name = (uint)Property.Id.MyProfileName;
932 /// Company child record (multiple)
934 public const uint Company = (uint)Property.Id.MyProfileCompany;
936 /// Note child record (multiple)
938 public const uint Note = (uint)Property.Id.MyProfileNote;
940 /// Number child record (multiple)
942 public const uint Number = (uint)Property.Id.MyProfileNumber;
944 /// Email child record (multiple)
946 public const uint Email = (uint)Property.Id.MyProfileEmail;
948 /// Event child record (multiple)
950 public const uint Event = (uint)Property.Id.MyProfileEvent;
952 /// Messenger child record (multiple)
954 public const uint Messenger = (uint)Property.Id.MyProfileMessenger;
956 /// Address child record (multiple)
958 public const uint Address = (uint)Property.Id.MyProfileAddress;
960 /// URL child record (multiple)
962 public const uint URL = (uint)Property.Id.MyProfileURL;
964 /// Nickname child record (multiple)
966 public const uint Nickname = (uint)Property.Id.MyProfileNickname;
968 /// Profile child record (multiple)
970 public const uint Profile = (uint)Property.Id.MyProfileProfile;
972 /// Relationship child record (multiple)
974 public const uint Relationship = (uint)Property.Id.MyProfileRelationship;
976 /// Image child record (multiple)
978 public const uint Image = (uint)Property.Id.MyProfileImage;
980 /// Extension child record (multiple)
982 public const uint Extension = (uint)Property.Id.MyProfileExtension;
984 /// Sip child record (multiple)
986 public const uint Sip = (uint)Property.Id.MyProfileSip;
990 /// Describes properties of a Name record.
992 public static class Name
995 /// Identifier of this contacts name view
997 public const string Uri = "tizen.contacts_view.name";
999 /// DB record ID of the name
1001 public const uint Id = (uint)Property.Id.NameId;
1003 /// Contacts ID that the name record belongs to
1005 public const uint ContactId = (uint)Property.Id.NameContactId;
1009 public const uint First = (uint)Property.Id.NameFirst;
1013 public const uint Last = (uint)Property.Id.NameLast;
1017 public const uint Addition = (uint)Property.Id.NameAddition;
1021 public const uint Suffix = (uint)Property.Id.NameSuffix;
1025 public const uint Prefix = (uint)Property.Id.NamePrefix;
1027 /// Pronounce the first name
1029 public const uint PhoneticFirst = (uint)Property.Id.NamePhoneticFirst;
1031 /// Pronounce the middle name
1033 public const uint PhoneticMiddle = (uint)Property.Id.NamePhoneticMiddle;
1035 /// Pronounce the last name
1037 public const uint PhoneticLast = (uint)Property.Id.NamePhoneticLast;
1041 /// Describes properties of a Number record.
1043 public static class Number
1046 /// Identifier of this contacts number view
1048 public const string Uri = "tizen.contacts_view.number";
1050 /// DB record ID of the number
1052 public const uint Id = (uint)Property.Id.NumberId;
1054 /// Contact ID that the number belongs to
1056 public const uint ContactId = (uint)Property.Id.NumberContactId;
1058 /// Number type, refer to the Types
1060 public const uint Type = (uint)Property.Id.NumberType;
1062 /// Custom number type label, when the number type is Types.Custom
1064 public const uint Label = (uint)Property.Id.NumberLabel;
1066 /// The number is default number or not
1068 public const uint IsDefault = (uint)Property.Id.NumberIsDefault;
1072 public const uint NumberData = (uint)Property.Id.NumberNumber;
1074 /// You can only use this property for search filter.
1076 public const uint NormalizedNumber = (uint)Property.Id.NumberNormalizedNumber;
1078 /// You can only use this property for search filter.
1080 public const uint CleanedNumber = (uint)Property.Id.NumberCleanedNumber;
1082 /// You can only use this property for search filter.
1084 public const uint NumberFilter = (uint)Property.Id.NumberNumberFilter;
1087 /// Enumeration for number type.
1093 /// Other number type
1097 /// Custom number type
1101 /// A telephone number associated with a residence
1105 /// A telephone number associated with a place of work
1109 /// A voice telephone number
1113 /// A facsimile telephone number
1117 /// The telephone number has voice messaging support
1121 /// A cellular telephone number
1125 /// A paging device telephone number
1129 /// A bulletin board system telephone number
1133 /// A MODEM connected telephone number
1137 /// A car-phone telephone number
1141 /// An ISDN service telephone number
1145 /// A video conferencing telephone number
1149 /// A personal communication services telephone number
1153 /// A company main number
1157 /// A radio phone number
1161 /// An additional type for main
1165 /// An additional type for assistant
1167 Assistant = 1 << 30,
1172 /// Describes properties of a Email record.
1174 public static class Email
1177 /// Identifier of this contacts email view
1179 public const string Uri = "tizen.contacts_view.email";
1181 /// DB record ID of the email
1183 public const uint Id = (uint)Property.Id.EmailId;
1185 /// Contact ID that the email belongs to
1187 public const uint ContactId = (uint)Property.Id.EmailContactId;
1189 /// Email type, refer to the Types
1191 public const uint Type = (uint)Property.Id.EmailType;
1193 /// Custom mail type label, when the email type is Types.Custom
1195 public const uint Label = (uint)Property.Id.EmailLabel;
1197 /// The email is default email or not
1199 public const uint IsDefault = (uint)Property.Id.EmailIsDefault;
1203 public const uint Address = (uint)Property.Id.EmailEmail;
1206 /// Enumeration for Contact email type.
1212 /// Other email type
1216 /// Custom email type
1220 /// An email address associated with a residence
1224 /// An email address associated with a place of work
1228 /// A mobile email address
1235 /// Describes properties of a Address record.
1237 public static class Address
1240 /// Identifier of this contacts address view
1242 public const string Uri = "tizen.contacts_view.address";
1244 /// DB record ID of the address
1246 public const uint Id = (uint)Property.Id.AddressId;
1248 /// Contact ID that the address belongs to
1250 public const uint ContactId = (uint)Property.Id.AddressContactId;
1252 /// Address type, refer to the Types
1254 public const uint Type = (uint)Property.Id.AddressType;
1256 /// Address type label, when the address type is Types.Custom
1258 public const uint Label = (uint)Property.Id.AddressLabel;
1262 public const uint Postbox = (uint)Property.Id.AddressPostbox;
1266 public const uint PostalCode = (uint)Property.Id.AddressPostalCode;
1270 public const uint Region = (uint)Property.Id.AddressRegion;
1274 public const uint Locality = (uint)Property.Id.AddressLocality;
1278 public const uint Street = (uint)Property.Id.AddressStreet;
1282 public const uint Country = (uint)Property.Id.AddressCountry;
1284 /// Extended address
1286 public const uint Extended = (uint)Property.Id.AddressExtended;
1288 /// The address is default or not
1290 public const uint IsDefault = (uint)Property.Id.AddressIsDefault;
1293 /// Enumeration for Contact address type.
1299 /// Other address type
1303 /// Custom address type
1307 /// A delivery address for a residence
1311 /// A delivery address for a place of work
1315 /// A domestic delivery address
1319 /// An international delivery address
1321 International = 1 << 4,
1323 /// A postal delivery address
1327 /// A parcel delivery address
1334 /// Describes properties of a Note record.
1336 public static class Note
1339 /// Identifier of this contacts note view
1341 public const string Uri = "tizen.contacts_view.note";
1343 /// DB record ID of the note
1345 public const uint Id = (uint)Property.Id.NoteId;
1347 /// Contact ID that the note belongs to
1349 public const uint ContactId = (uint)Property.Id.NoteContactId;
1353 public const uint Contents = (uint)Property.Id.NoteNote;
1357 /// Describes properties of a URL record.
1359 public static class URL
1362 /// Identifier of this contacts URL view
1364 public const string Uri = "tizen.contacts_view.url";
1366 /// DB record ID of the URL
1368 public const uint Id = (uint)Property.Id.URLId;
1370 /// Contact ID that the URL belongs to
1372 public const uint ContactId = (uint)Property.Id.URLContactId;
1374 /// URL type, refer to the TypeValue
1376 public const uint Type = (uint)Property.Id.URLType;
1378 /// Custom URL type label, when the URL type is TypeValue.Custom
1380 public const uint Label = (uint)Property.Id.URLLabel;
1384 public const uint URLData = (uint)Property.Id.URLData;
1387 /// Enumeration for Contact URL type.
1389 public enum TypeValue
1411 /// Describes properties of a Event record.
1413 [SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords")]
1414 public static class Event
1417 /// Identifier of this contacts event view
1419 public const string Uri = "tizen.contacts_view.event";
1421 /// DB record ID of the event
1423 public const uint Id = (uint)Property.Id.EventId;
1425 /// Contact ID that the event belongs to
1427 public const uint ContactId = (uint)Property.Id.EventContactId;
1429 /// Event type, refer to the TypeValue
1431 public const uint Type = (uint)Property.Id.EventType;
1433 /// Custom event type label, when the event type is TypeValue.Custom
1435 public const uint Label = (uint)Property.Id.EventLabel;
1437 /// 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
1439 public const uint Date = (uint)Property.Id.EventDate;
1441 /// Calendar type, refer to the CalendarType
1443 public const uint IsLeapMonth = (uint)Property.Id.EventIsLeapMonth;
1446 /// Enumeration for Contact event type.
1448 public enum TypeValue
1451 /// Other event type
1455 /// Custom event type
1459 /// Birthday event type
1463 /// Anniversary event type
1469 /// Enumeration for Contact event calendar type.
1471 public enum CalendarType
1474 /// Gregorian calendar
1478 /// Chinese calendar
1485 /// Describes properties of a Relationship record.
1487 public static class Relationship
1490 /// Identifier of this relationship view
1492 public const string Uri = "tizen.contacts_view.relationship";
1494 /// DB record ID of the relationship
1496 public const uint Id = (uint)Property.Id.RelationshipId;
1498 /// Contact ID that the relationship belongs to
1500 public const uint ContactId = (uint)Property.Id.RelationshipContactId;
1502 /// Relationship type, refer to the TypeValue
1504 public const uint Type = (uint)Property.Id.RelationshipType;
1506 /// Custom relationship type label, when the relationship type is TypeValue.Custom
1508 public const uint Label = (uint)Property.Id.RelationshipLabel;
1510 /// Selected contact name that the relationship belongs to
1512 public const uint Name = (uint)Property.Id.RelationshipName;
1515 /// Enumeration for Contact relationship type.
1517 public enum TypeValue
1520 /// Other relationship type
1536 /// Domestic Partner type
1564 /// Referred by type
1587 /// Describes properties of a Image record.
1589 public static class Image
1592 /// Identifier of this contacts image view
1594 public const string Uri = "tizen.contacts_view.image";
1596 /// DB record ID of the image
1598 public const uint Id = (uint)Property.Id.ImageId;
1600 /// Contact ID that the image belongs to
1602 public const uint ContactId = (uint)Property.Id.ImageContactId;
1604 /// Image type, refer to the TypeValue
1606 public const uint Type = (uint)Property.Id.ImageType;
1608 /// Custom image type label, when the image type is TypeValue.Custom
1610 public const uint Label = (uint)Property.Id.ImageLabel;
1612 /// Image thumbnail path
1614 public const uint Path = (uint)Property.Id.ImagePath;
1616 /// The Image is default or not
1618 public const uint IsDefault = (uint)Property.Id.ImageIsDefault;
1621 /// Enumeration for Contact image type.
1623 public enum TypeValue
1637 /// Describes properties of a Company record.
1639 public static class Company
1642 /// Identifier of this contacts company view
1644 public const string Uri = "tizen.contacts_view.company";
1646 /// DB record ID of the company
1648 public const uint Id = (uint)Property.Id.CompanyId;
1650 /// Contact ID that the company belongs to
1652 public const uint ContactId = (uint)Property.Id.CompanyContactId;
1654 /// Company type, refer to the TypeValue
1656 public const uint Type = (uint)Property.Id.CompanyType;
1658 /// Custom company type label, when the company type is TypeValue.Custom
1660 public const uint Label = (uint)Property.Id.CompanyLabel;
1664 public const uint Name = (uint)Property.Id.CompanyName;
1668 public const uint Department = (uint)Property.Id.CompanyDepartment;
1672 public const uint JobTitle = (uint)Property.Id.CompanyJobTitle;
1676 public const uint AssistantName = (uint)Property.Id.CompanyAssistantName;
1680 public const uint Role = (uint)Property.Id.CompanyRole;
1682 /// Company logo image file path
1684 public const uint Logo = (uint)Property.Id.CompanyLogo;
1686 /// Company location
1688 public const uint Location = (uint)Property.Id.CompanyLocation;
1692 public const uint Description = (uint)Property.Id.CompanyDescription;
1694 /// Pronounce the company name
1696 public const uint PhoneticName = (uint)Property.Id.CompanyPhoneticName;
1699 /// Enumeration for Contact company type.
1701 public enum TypeValue
1719 /// Describes properties of a Nickname record.
1721 public static class Nickname
1724 /// Identifier of this contacts nickname view
1726 public const string Uri = "tizen.contacts_view.nickname";
1728 /// DB record ID of the nickname
1730 public const uint Id = (uint)Property.Id.NicknameId;
1732 /// Contact ID that the nickname belongs to
1734 public const uint ContactId = (uint)Property.Id.NicknameContactId;
1738 public const uint Name = (uint)Property.Id.NicknameName;
1742 /// Describes properties of a Messenger record.
1744 public static class Messenger
1747 /// Identifier of this contacts messenger view
1749 public const string Uri = "tizen.contacts_view.messenger";
1751 /// DB record ID of the messenger
1753 public const uint Id = (uint)Property.Id.MessengerId;
1755 /// Contact ID that the messenger belongs to
1757 public const uint ContactId = (uint)Property.Id.MessengerContactId;
1759 /// Messenger type, refer to the TypeValue
1761 public const uint Type = (uint)Property.Id.MessengerType;
1763 /// Custom messenger type label, when the messenger type is TypeValue.Custom
1765 public const uint Label = (uint)Property.Id.MessengerLabel;
1767 /// Messenger ID (email address or email ID...)
1769 public const uint IMId = (uint)Property.Id.MessengerIMId;
1772 /// Enumeration for Contact messenger type.
1774 public enum TypeValue
1777 /// Other messenger type
1781 /// Custom messenger type
1785 /// Google messenger type
1789 /// Windows live messenger type
1793 /// Yahoo messenger type
1797 /// Facebook messenger type
1805 /// AOL instance messenger type
1828 /// Describes properties of a Profile record.
1830 [SuppressMessage("Microsoft.Naming", "CA1724:TypeNamesShouldNotMatchNamespaces")]
1831 public static class Profile
1834 /// Identifier of this contacts profile view
1836 public const string Uri = "tizen.contacts_view.profile";
1838 /// DB record ID of profile
1840 public const uint Id = (uint)Property.Id.ProfileId;
1842 /// Contacts ID that the profile belongs to
1844 public const uint ContactId = (uint)Property.Id.ProfileContactId;
1846 /// Unique identifier
1848 public const uint UId = (uint)Property.Id.ProfileUId;
1850 /// Profile contents
1852 public const uint Text = (uint)Property.Id.ProfileText;
1854 /// Priority to display the profile
1856 public const uint Order = (uint)Property.Id.ProfileOrder;
1858 /// Data for app_control_set_operation
1860 public const uint ServiceOperation = (uint)Property.Id.ProfileServiceOperation;
1862 /// Data for app_control_set_mime
1864 public const uint Mime = (uint)Property.Id.ProfileMIME;
1866 /// Data for app_control_set_app_id
1868 public const uint AppId = (uint)Property.Id.ProfileAppId;
1870 /// Data for app_control_set_uri
1872 public const uint ProfileUri = (uint)Property.Id.ProfileUri;
1874 /// Data for app_control_set_category
1876 public const uint Category = (uint)Property.Id.ProfileCategory;
1878 /// It includes "key:value,key:value," pairs. You should parse it. And you must base64 encode each key and value
1880 public const uint ExtraData = (uint)Property.Id.ProfileExtraData;
1884 /// Describes properties of a Sip record.
1886 public static class Sip
1889 /// Identifier of this contacts sip view
1891 public const string Uri = "tizen.contacts_view.sip";
1893 /// DB record ID of the sip
1895 public const uint Id = (uint)Property.Id.SipId;
1897 /// Contact ID that the sip belongs to
1899 public const uint ContactId = (uint)Property.Id.SipContactId;
1903 public const uint Address = (uint)Property.Id.SipAddress;
1905 /// sip type, refer to the TypeValue
1907 public const uint Type = (uint)Property.Id.SipType;
1909 /// Custom sip type label, when the sip type is TypeValue.Custom
1911 public const uint Label = (uint)Property.Id.SipLabel;
1914 /// Enumeration for Contact SIP type.
1916 public enum TypeValue
1938 /// Describes properties of a Extension record.
1940 public static class Extension
1943 /// Identifier of this contacts extension view
1945 public const string Uri = "tizen.contacts_view.extension";
1947 /// DB record ID of the contact extension
1949 public const uint Id = (uint)Property.Id.ExtensionId;
1951 /// Contact ID that the contact extension belongs to
1953 public const uint ContactId = (uint)Property.Id.ExtensionContactId;
1955 /// The extra child record format for non-provided from contacts-service
1957 public const uint Data1 = (uint)Property.Id.ExtensionData1;
1959 /// The extra child record format for non-provided from contacts-service
1961 public const uint Data2 = (uint)Property.Id.ExtensionData2;
1963 /// The extra child record format for non-provided from contacts-service
1965 public const uint Data3 = (uint)Property.Id.ExtensionData3;
1967 /// The extra child record format for non-provided from contacts-service
1969 public const uint Data4 = (uint)Property.Id.ExtensionData4;
1971 /// The extra child record format for non-provided from contacts-service
1973 public const uint Data5 = (uint)Property.Id.ExtensionData5;
1975 /// The extra child record format for non-provided from contacts-service
1977 public const uint Data6 = (uint)Property.Id.ExtensionData6;
1979 /// The extra child record format for non-provided from contacts-service
1981 public const uint Data7 = (uint)Property.Id.ExtensionData7;
1983 /// The extra child record format for non-provided from contacts-service
1985 public const uint Data8 = (uint)Property.Id.ExtensionData8;
1987 /// The extra child record format for non-provided from contacts-service
1989 public const uint Data9 = (uint)Property.Id.ExtensionData9;
1991 /// The extra child record format for non-provided from contacts-service
1993 public const uint Data10 = (uint)Property.Id.ExtensionData10;
1995 /// The extra child record format for non-provided from contacts-service
1997 public const uint Data11 = (uint)Property.Id.ExtensionData11;
1999 /// The extra child record format for non-provided from contacts-service
2001 public const uint Data12 = (uint)Property.Id.ExtensionData12;
2005 /// Describes properties of a Group relation record.
2007 public static class GroupRelation
2010 /// Identifier of this relationship view
2012 public const string Uri = "tizen.contacts_view.group_relation";
2014 /// DB record ID of the group relation (can not be used as filter)
2016 public const uint Id = (uint)Property.Id.GroupRelationId;
2018 /// DB record ID of the group
2020 public const uint GroupId = (uint)Property.Id.GroupRelationGroupId;
2022 /// DB record ID of the contact
2024 public const uint ContactId = (uint)Property.Id.GroupRelationContactId;
2028 public const uint Name = (uint)Property.Id.GroupRelationGroupName;
2032 /// Describes properties of a Speed dial record.
2034 public static class SpeedDial
2037 /// Identifier of this contact speed dial view
2039 public const string Uri = "tizen.contacts_view.speeddial";
2041 /// Stored speed dial number
2043 public const uint SpeedDialNumber = (uint)Property.Id.SpeedDialDialNumber;
2045 /// Number ID that the speed dial belongs to
2047 public const uint NumberId = (uint)Property.Id.SpeedDialNumberId;
2049 /// Contact number of specified speed dial
2051 public const uint Number = (uint)Property.Id.SpeedDialNumber;
2053 /// Contact number label of specified speed dial, when the number type is Number.Types.Custom
2055 public const uint NumberLabel = (uint)Property.Id.SpeedDialNumberLabel;
2057 /// Contact number type, refer to the Number.Types
2059 public const uint NumberType = (uint)Property.Id.SpeedDialNumberType;
2061 /// Person ID that the speed dial belongs to
2063 public const uint PersonId = (uint)Property.Id.SpeedDialPersonId;
2065 /// Display name that the speed dial belongs to
2067 public const uint DisplayName = (uint)Property.Id.SpeedDialDisplayName;
2069 /// Image thumbnail path that the speed dial belongs to
2071 public const uint ThumbnailPath = (uint)Property.Id.SpeedDialThumbnail;
2073 /// You can only use this property for search filter
2075 public const uint NormalizedNumber = (uint)Property.Id.SpeedDialNormalizedNumber;
2077 /// You can only use this property for search filter
2079 public const uint CleanedNumber = (uint)Property.Id.SpeedDialCleanedNumber;
2081 /// If you add filter with this property, the string will be normalized as minimal match length internally and the match rule will be applied ContactsFilter.StringMatchType.Exactly
2083 public const uint NumberFilter = (uint)Property.Id.SpeedDialNumberFilter;
2087 /// Describes properties of a Phone log record.
2089 public static class PhoneLog
2092 /// Identifier of this phone log view
2094 public const string Uri = "tizen.contacts_view.phonelog";
2096 /// DB record ID of phone log
2098 public const uint Id = (uint)Property.Id.PhonelogId;
2100 /// Person ID that the phone log belongs to
2102 public const uint PersonId = (uint)Property.Id.PhonelogPersonId;
2104 /// Number or Email that the phone log displays
2106 public const uint Address = (uint)Property.Id.PhonelogAddress;
2108 /// Call end time. The value means number of seconds since 1970-01-01 00:00:00 (UTC)
2110 public const uint LogTime = (uint)Property.Id.PhonelogLogTime;
2112 /// Log type, refer to the Type
2114 public const uint LogType = (uint)Property.Id.PhonelogLogType;
2116 /// You can set the related integer data (e.g. message_id, email_id or duration(seconds) of call)
2118 public const uint ExtraData1 = (uint)Property.Id.PhonelogExtraData1;
2120 /// You can set the related string data (e.g. short message, subject)
2122 public const uint ExtraData2 = (uint)Property.Id.PhonelogExtraData2;
2124 /// You can only use this property for search filter
2126 public const uint NormalizedAddress = (uint)Property.Id.PhonelogNormalizedAddress;
2128 /// You can only use this property for search filter
2130 public const uint CleanedAddress = (uint)Property.Id.PhonelogCleanedAddress;
2132 /// You can only use this property for search filter
2134 public const uint AddressFilter = (uint)Property.Id.PhonelogAddressFilter;
2136 /// You can set the related SIM slot number. SimSlotNo 0 means first SIM card, SimSlotNo 1 means second SIM.
2138 public const uint SimSlotNo = (uint)Property.Id.PhonelogSIMSlotNo;
2141 /// Enumeration for Phone log type.
2158 /// Incoming video call
2162 /// Outgoing video call
2166 /// Not confirmed missed call
2168 VoiceMissedUnseen = 5,
2170 /// Confirmed missed call
2172 VoiceMissedSeen = 6,
2174 /// Not confirmed missed video call
2176 VideoMissedUnseen = 7,
2178 /// Confirmed missed video call
2180 VideoMissedSeen = 8,
2186 /// Rejected video call
2194 /// Blocked video call
2224 EmailReceived = 201,
2234 /// Describes properties of a Contact updated information record.
2236 /// <remarks>Read only view</remarks>
2237 public static class ContactUpdatedInfo
2240 /// Identifier of this contact updated info view
2242 public const string Uri = "tizen.contacts_view.contacts_updated_info";
2244 /// Updated contact ID
2246 public const uint ContactId = (uint)Property.Id.UpdateInfoId;
2248 /// AddressBook ID that the updated contact belongs to
2250 public const uint AddressBookId = (uint)Property.Id.UpdateInfoAddressBookId;
2252 /// Contact change type, refer to the ContactsViews.ChangeType
2254 public const uint Type = (uint)Property.Id.UpdateInfoType;
2258 public const uint Version = (uint)Property.Id.UpdateInfoVersion;
2260 /// Contact image is changed or not
2262 public const uint ImageChanged = (uint)Property.Id.UpdateInfoImageChanged;
2266 /// Describes properties of a My profile updated information record.
2268 /// <remarks>Read only view</remarks>
2269 public static class MyProfileUpdatedInfo
2272 /// Identifier of this my profile updated info view
2274 public const string Uri = "tizen.contacts_view.my_profile_updated_info";
2276 /// Address book ID that the updated my profile belongs to
2278 public const uint AddressBookId = (uint)Property.Id.UpdateInfoAddressBookId;
2280 /// MyProfile change type, refer to the ContactsViews.ChangeType
2282 public const uint LastChangedType = (uint)Property.Id.UpdateInfoLastChangedType;
2286 public const uint Version = (uint)Property.Id.UpdateInfoVersion;
2290 /// Describes properties of a Group updated information record.
2292 /// <remarks>Read only view</remarks>
2293 public static class GroupUpdatedInfo
2296 /// Identifier of this group updated info view
2298 public const string Uri = "tizen.contacts_view.groups_updated_info";
2300 /// Updated group ID
2302 public const uint GroupId = (uint)Property.Id.UpdateInfoId;
2304 /// Address book ID that the updated group belongs to
2306 public const uint AddressBookId = (uint)Property.Id.UpdateInfoAddressBookId;
2308 /// Group change type, refer to the ContactsViews.ChangeType
2310 public const uint Type = (uint)Property.Id.UpdateInfoType;
2314 public const uint Version = (uint)Property.Id.UpdateInfoVersion;
2318 /// Describes properties of a Group Member updated information record.
2320 /// <remarks>Read only view</remarks>
2321 public static class GroupMemberUpdatedInfo
2324 /// Identifier of this group member updated info view
2326 public const string Uri = "tizen.contacts_view.groups_member_updated_info";
2328 /// Updated group ID
2330 public const uint GroupId = (uint)Property.Id.UpdateInfoId;
2332 /// Address book ID that the updated group belongs to
2334 public const uint AddressBookId = (uint)Property.Id.UpdateInfoAddressBookId;
2338 public const uint Version = (uint)Property.Id.UpdateInfoVersion;
2342 /// Describes properties of a Relation updated information record.
2344 /// <remarks>Read only view</remarks>
2345 public static class GroupRelationUpdatedInfo
2348 /// Identifier of this group relation updated info view
2350 public const string Uri = "tizen.contacts_view.group_relations_updated_info";
2352 /// Group ID of group relation
2354 public const uint GroupId = (uint)Property.Id.GroupId;
2356 /// Contact ID of the updated group relation
2358 public const uint ContactId = (uint)Property.Id.ContactId;
2360 /// Address book ID of contact that the updated group relation
2362 public const uint AddressBookId = (uint)Property.Id.AddressBookId;
2364 /// Group relation change type, refer to the ContactsViews.ChangeType
2366 public const uint Type = (uint)Property.Id.UpdateInfoType;
2370 public const uint Version = (uint)Property.Id.UpdateInfoVersion;
2374 /// Describes properties of a PersonContact record.
2376 /// <remarks>Read only view</remarks>
2377 public static class PersonContact
2380 /// Identifier of this person contact view
2382 public const string Uri = "tizen.contacts_view.person/simple_contact";
2384 /// DB record ID of the person
2386 public const uint PersonId = (uint)Property.Id.PersonId;
2388 /// Display name of the person
2390 public const uint DisplayName = (uint)Property.Id.PersonDisplayName;
2392 /// The first character of first string for grouping. This is normalized using ICU (projection)
2394 public const uint DisplayNameIndex = (uint)Property.Id.PersonDisplayNameIndex;
2396 /// Display contact ID that the person belongs to (projection)
2398 public const uint DisplayContactId = (uint)Property.Id.PersonDisplayContactId;
2400 /// Ringtone path of the person (projection)
2402 public const uint RingtonePath = (uint)Property.Id.PersonRingtone;
2404 /// Image thumbnail path of the person (projection)
2406 public const uint ThumbnailPath = (uint)Property.Id.PersonThumbnail;
2408 /// Vibration path of the person (projection)
2410 public const uint Vibration = (uint)Property.Id.PersonVibration;
2412 /// Message alert path of the person (projection)
2414 public const uint MessageAlert = (uint)Property.Id.PersonMessageAlert;
2416 /// Status of social account (projection)
2418 public const uint Status = (uint)Property.Id.PersonStatus;
2420 /// The person is favorite or not
2422 public const uint IsFavorite = (uint)Property.Id.PersonIsFavorite;
2424 /// Link count of contact records (projection)
2426 public const uint LinkCount = (uint)Property.Id.PersonLinkCount;
2428 /// Contact ID that the person belongs to
2430 public const uint ContactId = (uint)Property.Id.ContactId;
2432 /// AddressBook IDs that the person belongs to (projection)
2434 public const uint AddressBookIds = (uint)Property.Id.PersonAddressBookIds;
2436 /// The person has phone number or not
2438 public const uint HasPhoneNumber = (uint)Property.Id.PersonHasPhoneNumber;
2440 /// The person has email or not
2442 public const uint HasEmail = (uint)Property.Id.PersonHasEmail;
2444 /// AddressBook ID that the person belongs to
2446 public const uint AddressBookId = (uint)Property.Id.ContactAddressBookId;
2448 /// AddressBook mode, refer to the AddressBook.Mode
2450 public const uint AddressBookMode = (uint)Property.Id.AddressBookMode;
2452 /// AddressBook name that the person belongs to
2454 public const uint AddressBookName = (uint)Property.Id.AddressBookName;
2456 /// keyword matched data type, refer to the Contact.DataType
2458 public const uint SnippetType = (uint)Property.Id.PersonSnippetType;
2460 /// keyword matched data string
2462 public const uint SnippetString = (uint)Property.Id.PersonSnippetString;
2466 /// Describes properties of a PersonNumber record.
2468 /// <remarks>Read only view</remarks>
2469 public static class PersonNumber
2472 /// Identifier of this person number view
2474 public const string Uri = "tizen.contacts_view.person/simple_contact/number";
2476 /// DB record ID of the person
2478 public const uint PersonId = (uint)Property.Id.PersonId;
2480 /// Display name of the person
2482 public const uint DisplayName = (uint)Property.Id.PersonDisplayName;
2484 /// The first character of first string for grouping. This is normalized using ICU (projection)
2486 public const uint DisplayNameIndex = (uint)Property.Id.PersonDisplayNameIndex;
2488 /// Display contact ID that the person belongs to (projection)
2490 public const uint DisplayContactId = (uint)Property.Id.PersonDisplayContactId;
2492 /// Ringtone path of the person (projection)
2494 public const uint RingtonePath = (uint)Property.Id.PersonRingtone;
2496 /// Image thumbnail path of the person (projection)
2498 public const uint ThumbnailPath = (uint)Property.Id.PersonThumbnail;
2500 /// Vibration path of the person (projection)
2502 public const uint Vibration = (uint)Property.Id.PersonVibration;
2504 /// Message alert path of the person (projection)
2506 public const uint MessageAlert = (uint)Property.Id.PersonMessageAlert;
2508 /// The person is favorite or not
2510 public const uint IsFavorite = (uint)Property.Id.PersonIsFavorite;
2512 /// The person has phone number or not
2514 public const uint HasPhoneNumber = (uint)Property.Id.PersonHasPhoneNumber;
2516 /// The person has email or not
2518 public const uint HasEmail = (uint)Property.Id.PersonHasEmail;
2520 /// Number ID that the person belongs to
2522 public const uint NumberId = (uint)Property.Id.NumberId;
2524 /// Number type, refer to the Number.Types (projection)
2526 public const uint Type = (uint)Property.Id.NumberType;
2528 /// Custom number type label, when the number type is Number.Types.Custom (projection)
2530 public const uint Label = (uint)Property.Id.NumberLabel;
2532 /// The number is default number or not
2534 public const uint IsPrimaryDefault = (uint)Property.Id.DataIsPrimaryDefault;
2538 public const uint Number = (uint)Property.Id.NumberNumber;
2540 /// If you add filter with this property, the string will be normalized as minimal match length internally and the match rule will be applied ContactsFilter.StringMatchType.Exactly.
2542 public const uint NumberFilter = (uint)Property.Id.NumberNumberFilter;
2544 /// You can only use this property for search filter
2546 public const uint NormalizedNumber = (uint)Property.Id.NumberNormalizedNumber;
2548 /// You can only use this property for search filter
2550 public const uint CleanedNumber = (uint)Property.Id.NumberCleanedNumber;
2552 /// keyword matched data type, refer to they Contact.DataType
2554 public const uint SnippetType = (uint)Property.Id.PersonSnippetType;
2556 /// keyword matched data string
2558 public const uint SnippetString = (uint)Property.Id.PersonSnippetString;
2562 /// Describes properties of a PersonEmail record.
2564 /// <remarks>Read only view</remarks>
2565 public static class PersonEmail
2568 /// Identifier of this person email view
2570 public const string Uri = "tizen.contacts_view.person/simple_contact/email";
2572 /// DB record ID of the person
2574 public const uint PersonId = (uint)Property.Id.PersonId;
2576 /// Display name of the person
2578 public const uint DisplayName = (uint)Property.Id.PersonDisplayName;
2580 /// The first character of first string for grouping. This is normalized using ICU (projection)
2582 public const uint DisplayNameIndex = (uint)Property.Id.PersonDisplayNameIndex;
2584 /// Display contact ID that the person belongs to (projection)
2586 public const uint DisplayContactId = (uint)Property.Id.PersonDisplayContactId;
2588 /// Ringtone path of the person (projection)
2590 public const uint RingtonePath = (uint)Property.Id.PersonRingtone;
2592 /// Image thumbnail path of the person (projection)
2594 public const uint ThumbnailPath = (uint)Property.Id.PersonThumbnail;
2596 /// Vibration path of the person (projection)
2598 public const uint Vibration = (uint)Property.Id.PersonVibration;
2600 /// Message alert path of the person (projection)
2602 public const uint MessageAlert = (uint)Property.Id.PersonMessageAlert;
2604 /// The person is favorite or not
2606 public const uint IsFavorite = (uint)Property.Id.PersonIsFavorite;
2608 /// The person has phone number or not
2610 public const uint HasPhoneNumber = (uint)Property.Id.PersonHasPhoneNumber;
2612 /// The person has email or not
2614 public const uint HasEmail = (uint)Property.Id.PersonHasEmail;
2616 /// Email ID that the person belongs to
2618 public const uint EmailId = (uint)Property.Id.EmailId;
2620 /// Email type, refer to the Email.Types (projection)
2622 public const uint Type = (uint)Property.Id.EmailType;
2624 /// Custom mail type label, when the email type is Email.Types.Custom (projection)
2626 public const uint Label = (uint)Property.Id.EmailLabel;
2628 /// The email is default email or not
2630 public const uint IsPrimaryDefault = (uint)Property.Id.DataIsPrimaryDefault;
2634 public const uint Email = (uint)Property.Id.EmailEmail;
2636 /// keyword matched data type, refer to they Contact.DataType
2638 public const uint SnippetType = (uint)Property.Id.PersonSnippetType;
2640 /// keyword matched data string
2642 public const uint SnippetString = (uint)Property.Id.PersonSnippetString;
2646 /// Describes properties of a PersonGroupRelation record.
2648 /// <remarks>Read only view</remarks>
2649 public static class PersonGroupRelation
2652 /// Identifier of this person group relation view
2654 public const string Uri = "tizen.contacts_view.person/simple_contact/group";
2656 /// DB record ID of the person
2658 public const uint PersonId = (uint)Property.Id.PersonId;
2660 /// Display name of the person
2662 public const uint DisplayName = (uint)Property.Id.PersonDisplayName;
2664 /// The first character of first string for grouping. This is normalized using ICU (projection)
2666 public const uint DisplayNameIndex = (uint)Property.Id.PersonDisplayNameIndex;
2668 /// Display contact ID that the person belongs to (projection)
2670 public const uint DisplayContactId = (uint)Property.Id.PersonDisplayContactId;
2672 /// Ringtone path of the person (projection)
2674 public const uint RingtonePath = (uint)Property.Id.PersonRingtone;
2676 /// Image thumbnail path of the person (projection)
2678 public const uint ThumbnailPath = (uint)Property.Id.PersonThumbnail;
2680 /// Vibration path of the person (projection)
2682 public const uint Vibration = (uint)Property.Id.PersonVibration;
2684 /// Message alert path of the person (projection)
2686 public const uint MessageAlert = (uint)Property.Id.PersonMessageAlert;
2688 /// Status of social account (projection)
2690 public const uint Status = (uint)Property.Id.PersonStatus;
2692 /// The person is favorite or not
2694 public const uint IsFavorite = (uint)Property.Id.PersonIsFavorite;
2696 /// The person has phone number or not
2698 public const uint HasPhoneNumber = (uint)Property.Id.PersonHasPhoneNumber;
2700 /// The person has email or not
2702 public const uint HasEmail = (uint)Property.Id.PersonHasEmail;
2704 /// Link count of contact records (projection)
2706 public const uint LinkCount = (uint)Property.Id.PersonLinkCount;
2708 /// AddressBook IDs that the person belongs to (projection)
2710 public const uint AddressBookIds = (uint)Property.Id.PersonAddressBookIds;
2712 /// AddressBook ID that the person belongs to
2714 public const uint AddressBookId = (uint)Property.Id.ContactAddressBookId;
2716 /// AddressBook name that the person belongs to
2718 public const uint AddressBookName = (uint)Property.Id.AddressBookName;
2720 /// AddressBook mode, refer to the AddressBook.Mode
2722 public const uint AddressBookMode = (uint)Property.Id.AddressBookMode;
2724 /// Group ID that the person belongs to
2726 public const uint GroupId = (uint)Property.Id.GroupRelationGroupId;
2728 /// Contact ID that the person belongs to (projection)
2730 public const uint ContactId = (uint)Property.Id.GroupRelationContactId;
2732 /// keyword matched data type, refer to they Contact.DataType
2734 public const uint SnippetType = (uint)Property.Id.PersonSnippetType;
2736 /// keyword matched data string
2738 public const uint SnippetString = (uint)Property.Id.PersonSnippetString;
2742 /// Describes properties of a PersonGroupAssignedrecord.
2744 /// <remarks>Read only view</remarks>
2745 public static class PersonGroupAssigned
2748 /// Identifier of this person group assigned view
2750 public const string Uri = "tizen.contacts_view.person/simple_contact/group_assigned";
2752 /// DB record ID of the person
2754 public const uint PersonId = (uint)Property.Id.PersonId;
2756 /// Display name of the person
2758 public const uint DisplayName = (uint)Property.Id.PersonDisplayName;
2760 /// The first character of first string for grouping. This is normalized using ICU (projection)
2762 public const uint DisplayNameIndex = (uint)Property.Id.PersonDisplayNameIndex;
2764 /// Display contact ID that the person belongs to (projection)
2766 public const uint DisplayContactId = (uint)Property.Id.PersonDisplayContactId;
2768 /// Ringtone path of the person (projection)
2770 public const uint RingtonePath = (uint)Property.Id.PersonRingtone;
2772 /// Image thumbnail path of the person (projection)
2774 public const uint ThumbnailPath = (uint)Property.Id.PersonThumbnail;
2776 /// Vibration path of the person (projection)
2778 public const uint Vibration = (uint)Property.Id.PersonVibration;
2780 /// Message alert path of the person (projection)
2782 public const uint MessageAlert = (uint)Property.Id.PersonMessageAlert;
2784 /// Status of social account (projection)
2786 public const uint Status = (uint)Property.Id.PersonStatus;
2788 /// The person is favorite or not
2790 public const uint IsFavorite = (uint)Property.Id.PersonIsFavorite;
2792 /// The person has phone number or not
2794 public const uint HasPhoneNumber = (uint)Property.Id.PersonHasPhoneNumber;
2796 /// The person has email or not
2798 public const uint HasEmail = (uint)Property.Id.PersonHasEmail;
2800 /// Link count of contact records (projection)
2802 public const uint LinkCount = (uint)Property.Id.PersonLinkCount;
2804 /// AddressBook IDs that the linked person belongs to (projection)
2806 public const uint AddressBookIds = (uint)Property.Id.PersonAddressBookIds;
2808 /// AddressBook ID that the person belongs to
2810 public const uint AddressBookId = (uint)Property.Id.ContactAddressBookId;
2812 /// AddressBook mode, refer to the AddressBook.Mode
2814 public const uint AddressBookMode = (uint)Property.Id.AddressBookMode;
2816 /// Group ID that the person belongs to
2818 public const uint GroupId = (uint)Property.Id.GroupRelationGroupId;
2820 /// Contact ID that the person belongs to (projection)
2822 public const uint ContactId = (uint)Property.Id.GroupRelationContactId;
2824 /// keyword matched data type, refer to they Contact.DataType
2826 public const uint SnippetType = (uint)Property.Id.PersonSnippetType;
2828 /// keyword matched data string
2830 public const uint SnippetString = (uint)Property.Id.PersonSnippetString;
2834 /// Describes properties of a PersonGroupNotAssigned record.
2836 /// <remarks>Read only view</remarks>
2837 public static class PersonGroupNotAssigned
2840 /// Identifier of this person group not assigned view
2842 public const string Uri = "tizen.contacts_view.person/simple_contact/group_not_assigned";
2844 /// DB record ID of the person
2846 public const uint PersonId = (uint)Property.Id.PersonId;
2848 /// Display name of the person
2850 public const uint DisplayName = (uint)Property.Id.PersonDisplayName;
2852 /// The first character of first string for grouping. This is normalized using ICU (projection)
2854 public const uint DisplayNameIndex = (uint)Property.Id.PersonDisplayNameIndex;
2856 /// Display contact ID that the person belongs to (projection)
2858 public const uint DisplayContactId = (uint)Property.Id.PersonDisplayContactId;
2860 /// Ringtone path of the person (projection)
2862 public const uint RingtonePath = (uint)Property.Id.PersonRingtone;
2864 /// Image thumbnail path of the person (projection)
2866 public const uint ThumbnailPath = (uint)Property.Id.PersonThumbnail;
2868 /// Vibration path of the person (projection)
2870 public const uint Vibration = (uint)Property.Id.PersonVibration;
2872 /// Message alert path of the person (projection)
2874 public const uint MessageAlert = (uint)Property.Id.PersonMessageAlert;
2876 /// Status of social account (projection)
2878 public const uint Status = (uint)Property.Id.PersonStatus;
2880 /// The person is favorite or not
2882 public const uint IsFavorite = (uint)Property.Id.PersonIsFavorite;
2884 /// The person has phone number or not
2886 public const uint HasPhoneNumber = (uint)Property.Id.PersonHasPhoneNumber;
2888 /// The person has email or not
2890 public const uint HasEmail = (uint)Property.Id.PersonHasEmail;
2892 /// Link count of contact records (projection)
2894 public const uint LinkCount = (uint)Property.Id.PersonLinkCount;
2896 /// AddressBook IDs that the linked person belongs to (projection)
2898 public const uint AddressBookIds = (uint)Property.Id.PersonAddressBookIds;
2900 /// AddressBook ID that the person belongs to
2902 public const uint AddressBookId = (uint)Property.Id.ContactAddressBookId;
2904 /// AddressBook mode, refer to the AddressBook.Mode
2906 public const uint AddressBookMode = (uint)Property.Id.AddressBookMode;
2908 /// Contact ID that the person belongs to (projection)
2910 public const uint ContactId = (uint)Property.Id.ContactId;
2912 /// keyword matched data type, refer to they Contact.DataType
2914 public const uint SnippetType = (uint)Property.Id.PersonSnippetType;
2916 /// keyword matched data string
2918 public const uint SnippetString = (uint)Property.Id.PersonSnippetString;
2922 /// Describes properties of a PersonPhoneLog record.
2924 /// <remarks>Read only view</remarks>
2925 public static class PersonPhoneLog
2928 /// Identifier of this phone log view
2930 public const string Uri = "tizen.contacts_view.person/simple_contact/phonelog";
2932 /// DB record ID of the person
2934 public const uint PersonId = (uint)Property.Id.PersonId;
2936 /// Display name of the person
2938 public const uint DisplayName = (uint)Property.Id.PersonDisplayName;
2940 /// Image thumbnail path of the person (projection)
2942 public const uint ThumbnailPath = (uint)Property.Id.PersonThumbnail;
2944 /// DB record ID of phone log
2946 public const uint LogId = (uint)Property.Id.PhonelogId;
2948 /// Number or Email that the phone log displays
2950 public const uint Address = (uint)Property.Id.PhonelogAddress;
2952 /// Number or Email type (projection)
2954 public const uint AddressType = (uint)Property.Id.DataData1;
2956 /// Call end time. The value means number of seconds since 1970-01-01 00:00:00 (UTC)
2958 public const uint LogTime = (uint)Property.Id.PhonelogLogTime;
2960 /// Log type, refer to the PhoneLog.Types
2962 public const uint LogType = (uint)Property.Id.PhonelogLogType;
2964 /// You can set the related integer data (e.g. message_id, email_id or duration(seconds) of call) (projection)
2966 public const uint ExtraData1 = (uint)Property.Id.PhonelogExtraData1;
2968 /// You can set the related string data (e.g. short message, subject) (projection)
2970 public const uint ExtraData2 = (uint)Property.Id.PhonelogExtraData2;
2972 /// You can only use this property for search filter
2974 public const uint NormalizedAddress = (uint)Property.Id.PhonelogNormalizedAddress;
2976 /// You can only use this property for search filter
2978 public const uint CleanedAddress = (uint)Property.Id.PhonelogCleanedAddress;
2980 /// You can only use this property for search filter
2982 public const uint AddressFilter = (uint)Property.Id.PhonelogAddressFilter;
2984 /// It is related to the SIM slot number. SimSlotNo 0 means first SIM card, SimSlotNo 1 means second SIM.
2986 public const uint SIMSlotNo = (uint)Property.Id.PhonelogSIMSlotNo;
2990 /// Describes properties of a Person Usage record.
2992 /// <remarks>Read only view</remarks>
2993 public static class PersonUsage
2996 /// Identifier of this person usage view
2998 public const string Uri = "tizen.contacts_view.person/usag";
3000 /// DB record ID of the person
3002 public const uint PersonId = (uint)Property.Id.PersonId;
3004 /// Display name of the person
3006 public const uint DisplayName = (uint)Property.Id.PersonDisplayName;
3008 /// The first character of first string for grouping. This is normalized using ICU (projection)
3010 public const uint DisplayNameIndex = (uint)Property.Id.PersonDisplayNameIndex;
3012 /// Display contact ID that the person belongs to (projection)
3014 public const uint DisplayContactId = (uint)Property.Id.PersonDisplayContactId;
3016 /// Ringtone path of the person (projection)
3018 public const uint RingtonePath = (uint)Property.Id.PersonRingtone;
3020 /// Image thumbnail path of the person (projection)
3022 public const uint ThumbnailPath = (uint)Property.Id.PersonThumbnail;
3024 /// Vibration path of the person (projection)
3026 public const uint Vibration = (uint)Property.Id.PersonVibration;
3028 /// Message alert path of the person (projection)
3030 public const uint MessageAlert = (uint)Property.Id.PersonMessageAlert;
3032 /// The person is favorite or not
3034 public const uint IsFavorite = (uint)Property.Id.PersonIsFavorite;
3036 /// The person has phone number or not
3038 public const uint HasPhoneNumber = (uint)Property.Id.PersonHasPhoneNumber;
3040 /// The person has email or not
3042 public const uint HasEmail = (uint)Property.Id.PersonHasEmail;
3044 /// Usage type, refer to the Type
3046 public const uint UsageType = (uint)Property.Id.PersonUsageType;
3048 /// Usage number of person
3050 public const uint TimesUsed = (uint)Property.Id.PersonTimesUsed;
3053 /// Enumeration for Person usage type.
3066 /// Outgoing message
3078 /// Incoming message
3105 /// Describes properties of a ContactNumber record.
3107 /// <remarks>Read only view</remarks>
3108 public static class ContactNumber
3111 /// Identifier of this contacts number view
3113 public const string Uri = "tizen.contacts_view.simple_contact/number";
3115 /// Contact ID that the number belongs to
3117 public const uint ContactId = (uint)Property.Id.ContactId;
3119 /// Display name of contact that the number belongs to
3121 public const uint DisplayName = (uint)Property.Id.ContactDisplayName;
3123 /// The source type of display name, refer to the Contact.DisplayNameSourceType (projection)
3125 public const uint DisplaySourceType = (uint)Property.Id.ContactDisplaySourceDataId;
3127 /// AddressBook ID that the number belongs to
3129 public const uint AddressBookId = (uint)Property.Id.ContactAddressBookId;
3131 /// Person ID that the number belongs to
3133 public const uint PersonId = (uint)Property.Id.ContactPersonId;
3135 /// Ringtone path that the number belongs to (projection)
3137 public const uint RingtonePath = (uint)Property.Id.ContactRingtone;
3139 /// Image thumbnail path that the number belongs to (projection)
3141 public const uint ThumbnailPath = (uint)Property.Id.ContactThumbnail;
3143 /// DB record ID of the number
3145 public const uint NumberId = (uint)Property.Id.NumberId;
3147 /// Number type, refer to the Number.Types (projection)
3149 public const uint Type = (uint)Property.Id.NumberType;
3151 /// Custom number type label, when the number type is Number.Types.Custom (projection)
3153 public const uint Label = (uint)Property.Id.NumberLabel;
3155 /// The number is default number or not
3157 public const uint IsDefault = (uint)Property.Id.NumberIsDefault;
3161 public const uint Number = (uint)Property.Id.NumberNumber;
3163 /// If you add filter with this property, the string will be normalized as minimal match length internally and the match rule will be applied ContactsFilter.StringMatchType.Exactly
3165 public const uint NumberFilter = (uint)Property.Id.NumberNumberFilter;
3167 /// You can only use this property for search filter
3169 public const uint NormalizedNumber = (uint)Property.Id.NumberNormalizedNumber;
3171 /// You can only use this property for search filter
3173 public const uint CleanedNumber = (uint)Property.Id.NumberCleanedNumber;
3177 /// Describes properties of a ContactEmail record.
3179 /// <remarks>Read only view</remarks>
3180 public static class ContactEmail
3183 /// Identifier of this contacts email view
3185 public const string Uri = "tizen.contacts_view.simple_contact/email";
3187 /// Contact ID that the number belongs to
3189 public const uint ContactId = (uint)Property.Id.ContactId;
3191 /// Display name of contact that the number belongs to
3193 public const uint DisplayName = (uint)Property.Id.ContactDisplayName;
3195 /// The source type of display name, refer to the Contact.DisplayNameSourceType (projection)
3197 public const uint DisplaySourceType = (uint)Property.Id.ContactDisplaySourceDataId;
3199 /// AddressBook ID that the number belongs to
3201 public const uint AddressBookId = (uint)Property.Id.ContactAddressBookId;
3203 /// Person ID that the number belongs to
3205 public const uint PersonId = (uint)Property.Id.ContactPersonId;
3207 /// Ringtone path that the number belongs to (projection)
3209 public const uint RingtonePath = (uint)Property.Id.ContactRingtone;
3211 /// Image thumbnail path that the number belongs to (projection)
3213 public const uint ThumbnailPath = (uint)Property.Id.ContactThumbnail;
3215 /// DB record ID of the email
3217 public const uint EmailId = (uint)Property.Id.EmailId;
3219 /// Email type, refer to the Email.Types (projection)
3221 public const uint Type = (uint)Property.Id.EmailType;
3223 /// Custom mail type label, when the email type is Email.Types.Custom (projection)
3225 public const uint Label = (uint)Property.Id.EmailLabel;
3227 /// Email is default email or not
3229 public const uint IsDefault = (uint)Property.Id.EmailIsDefault;
3233 public const uint Email = (uint)Property.Id.EmailEmail;
3237 /// Describes properties of a ContactGroupRelation record.
3239 /// <remarks>Read only view</remarks>
3240 public static class ContactGroupRelation
3243 /// Identifier of this contact group relation view
3245 public const string Uri = "tizen.contacts_view.simple_contact/group";
3247 /// Contact ID that the number belongs to
3249 public const uint ContactId = (uint)Property.Id.ContactId;
3251 /// Display name of contact that the number belongs to
3253 public const uint DisplayName = (uint)Property.Id.ContactDisplayName;
3255 /// The source type of display name, refer to the Contact.DisplayNameSourceType (projection)
3257 public const uint DisplaySourceType = (uint)Property.Id.ContactDisplaySourceDataId;
3259 /// AddressBook ID that the number belongs to
3261 public const uint AddressBookId = (uint)Property.Id.ContactAddressBookId;
3263 /// Person ID that the number belongs to
3265 public const uint PersonId = (uint)Property.Id.ContactPersonId;
3267 /// Ringtone path that the number belongs to (projection)
3269 public const uint RingtonePath = (uint)Property.Id.ContactRingtone;
3271 /// Image thumbnail path that the number belongs to (projection)
3273 public const uint ThumbnailPath = (uint)Property.Id.ContactThumbnail;
3275 /// DB record ID of the group relation
3277 public const uint GroupId = (uint)Property.Id.GroupRelationGroupId;
3279 /// Group name (projection)
3281 public const uint GroupName = (uint)Property.Id.GroupRelationGroupName;
3285 /// Describes properties of a Phone Log Statistics record.
3287 /// <remarks>Read only view</remarks>
3288 public static class PhoneLogStatistics
3291 /// Identifier of this log statistics view
3293 public const string Uri = "tizen.contacts_view.phonelog_stat";
3295 /// Log count (projection)
3297 public const uint LogCount = (uint)Property.Id.PhonelogStatLogCount;
3299 /// Log type, see the contacts_phone_log_type_e
3301 public const uint LogType = (uint)Property.Id.PhonelogStatLogType;
3303 /// 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()
3305 public const uint SIMSlotNo = (uint)Property.Id.PhonelogStatSIMSlotNo;