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
23 namespace ContactsViews
26 /// This namespace provides information about views with properties.
29 /// Views are provided to access and handle entities. A view is a structure, which has property elements.
30 /// A view is almost the same as a database "VIEW", which limits access and guarantees performance.
31 /// A "record" represents a single row of the views.
32 /// A record can have basic properties of five types: integer, string, boolean, long, double.
34 /// <since_tizen> 4 </since_tizen>
36 internal static class Property
38 private const uint AddressBook = 0x00100000;
39 private const uint Group = 0x00200000;
40 private const uint Person = 0x00300000;
41 private const uint Data = 0x00600000;
42 private const uint SpeedDial = 0x00700000;
43 private const uint Phonelog = 0x00800000;
44 private const uint UpdateInfo = 0x00900000;
45 private const uint PhonelogStat = 0x00B00000;
47 private const uint Contact = 0x01000000;
48 private const uint Name = 0x01100000;
49 private const uint Number = 0x01200000;
50 private const uint Email = 0x01300000;
51 private const uint Address = 0x01400000;
52 private const uint URL = 0x01500000;
53 private const uint Event = 0x01600000;
54 private const uint GroupRelation = 0x01700000;
55 private const uint Relationship = 0x01800000;
56 private const uint Company = 0x01900000;
57 private const uint Nickname = 0x01A00000;
58 private const uint Messenger = 0x01B00000;
59 private const uint Note = 0x01C00000;
60 private const uint Profile = 0x01D00000;
61 private const uint Image = 0x01E00000;
62 private const uint Extension = 0x01F00000;
63 private const uint MyProfile = 0x02000000;
64 private const uint ActivityPhoto = 0x02100000;
65 private const uint Sip = 0x02200000;
67 /* data_type mask 0x000FF000 */
68 private const uint DataTypeBool = 0x00010000;
69 private const uint DataTypeInt = 0x00020000;
70 private const uint DataTypeLong = 0x00030000;
71 private const uint DataTypeString = 0x00040000;
72 private const uint DataTypeDouble = 0x00050000;
73 private const uint DataTypeRecord = 0x00060000;
75 private const uint ReadOnly = 0x00001000;
77 internal enum Id : uint
82 AddressBookId = (AddressBook | DataTypeInt | ReadOnly),
83 AddressBookAccountId = (AddressBook | DataTypeInt) + 1,
84 AddressBookName = (AddressBook | DataTypeString) + 2,
85 AddressBookMode = (AddressBook | DataTypeInt) + 3,
88 GroupId = (Group | DataTypeInt | ReadOnly),
89 GroupAddressBookId = (Group | DataTypeInt) + 1,
90 GroupName = (Group | DataTypeString) + 2,
91 GroupRingtone = (Group | DataTypeString) + 3,
92 GroupImage = (Group | DataTypeString) + 4,
93 GroupVibration = (Group | DataTypeString) + 5,
94 GroupExtraData = (Group | DataTypeString) + 6,
95 GroupIsReadOnly = (Group | DataTypeBool) + 7,
96 GroupMessageAlert = (Group | DataTypeString) + 8,
99 PersonId = (Person | DataTypeInt | ReadOnly),
100 PersonDisplayName = (Person | DataTypeString | ReadOnly) + 1,
101 PersonDisplayContactId = (Person | DataTypeInt) + 2,
102 PersonRingtone = (Person | DataTypeString) + 3,
103 PersonThumbnail = (Person | DataTypeString | ReadOnly) + 4,
104 PersonVibration = (Person | DataTypeString) + 5,
105 PersonIsFavorite = (Person | DataTypeBool) + 6,
106 PersonFavoritePriority = (Person | DataTypeDouble | ReadOnly) + 7,
107 PersonLinkCount = (Person | DataTypeInt | ReadOnly) + 8,
108 PersonAddressBookIds = (Person | DataTypeString | ReadOnly) + 9,
109 PersonHasPhoneNumber = (Person | DataTypeBool | ReadOnly) + 10,
110 PersonHasEmail = (Person | DataTypeBool | ReadOnly) + 11,
111 PersonDisplayNameIndex = (Person | DataTypeString | ReadOnly) + 12,
112 PersonStatus = (Person | DataTypeString | ReadOnly) + 13,
113 PersonMessageAlert = (Person | DataTypeString) + 14,
114 PersonSnippetType = (Person | DataTypeInt | ReadOnly) + 15,
115 PersonSnippetString = (Person | DataTypeString | ReadOnly) + 16,
118 PersonUsageType = (Person | DataTypeInt) + 100,
119 PersonTimesUsed = (Person | DataTypeInt) + 101,
121 /* simple contact : read only */
123 ContactId = (Contact | DataTypeInt | ReadOnly),
124 ContactDisplayName = (Contact | DataTypeString | ReadOnly) + 1,
125 ContactDisplaySourceDataId = (Contact | DataTypeInt | ReadOnly) + 2,
126 ContactAddressBookId = (Contact | DataTypeInt) + 3,
127 ContactRingtone = (Contact | DataTypeString) + 4,
128 ContactImage = (Contact | DataTypeRecord) + 5,
129 ContactThumbnail = (Contact | DataTypeString | ReadOnly) + 6,
130 ContactIsFavorite = (Contact | DataTypeBool) + 7,
131 ContactHasPhoneNumber = (Contact | DataTypeBool | ReadOnly) + 8,
132 ContactHasEmail = (Contact | DataTypeBool | ReadOnly) + 9,
133 ContactPersonId = (Contact | DataTypeInt) + 10,
134 ContactUId = (Contact | DataTypeString) + 11,
135 ContactVibration = (Contact | DataTypeString) + 12,
136 ContactChangedTime = (Contact | DataTypeInt | ReadOnly) + 13,
137 ContactName = (Contact | DataTypeRecord) + 14,
138 ContactCompany = (Contact | DataTypeRecord) + 15,
139 ContactNote = (Contact | DataTypeRecord) + 16,
140 ContactNumber = (Contact | DataTypeRecord) + 17,
141 ContactEmail = (Contact | DataTypeRecord) + 18,
142 ContactEvent = (Contact | DataTypeRecord) + 19,
143 ContactMessenger = (Contact | DataTypeRecord) + 20,
144 ContactAddress = (Contact | DataTypeRecord) + 21,
145 ContactURL = (Contact | DataTypeRecord) + 22,
146 ContactNickname = (Contact | DataTypeRecord) + 23,
147 ContactProfile = (Contact | DataTypeRecord) + 24,
148 ContactRelationship = (Contact | DataTypeRecord) + 25,
149 ContactGroupRelation = (Contact | DataTypeRecord) + 26,
150 ContactExtension = (Contact | DataTypeRecord) + 27,
151 ContactLinkMode = (Contact | DataTypeInt) + 28,
152 ContactMessageAlert = (Contact | DataTypeString) + 29,
153 ContactSip = (Contact | DataTypeRecord) + 30,
156 MyProfileId = (MyProfile | DataTypeInt | ReadOnly),
157 MyProfileDisplayName = (MyProfile | DataTypeString | ReadOnly) + 1,
158 MyProfileAddressBookId = (MyProfile | DataTypeInt) + 2,
159 MyProfileImage = (MyProfile | DataTypeRecord) + 3,
160 MyProfileThumbnail = (MyProfile | DataTypeString | ReadOnly) + 4,
161 MyProfileUId = (MyProfile | DataTypeString) + 5,
162 MyProfileChangedTime = (MyProfile | DataTypeInt) + 6,
163 MyProfileName = (MyProfile | DataTypeRecord) + 7,
164 MyProfileCompany = (MyProfile | DataTypeRecord) + 8,
165 MyProfileNote = (MyProfile | DataTypeRecord) + 9,
166 MyProfileNumber = (MyProfile | DataTypeRecord) + 10,
167 MyProfileEmail = (MyProfile | DataTypeRecord) + 11,
168 MyProfileEvent = (MyProfile | DataTypeRecord) + 12,
169 MyProfileMessenger = (MyProfile | DataTypeRecord) + 13,
170 MyProfileAddress = (MyProfile | DataTypeRecord) + 14,
171 MyProfileURL = (MyProfile | DataTypeRecord) + 15,
172 MyProfileNickname = (MyProfile | DataTypeRecord) + 16,
173 MyProfileProfile = (MyProfile | DataTypeRecord) + 17,
174 MyProfileRelationship = (MyProfile | DataTypeRecord) + 18,
175 MyProfileExtension = (MyProfile | DataTypeRecord) + 19,
176 MyProfileSip = (MyProfile | DataTypeRecord) + 20,
179 DataId = (Data | DataTypeInt),
180 DataContactId = (Data | DataTypeInt) + 1,
181 DataType = (Data | DataTypeInt) + 2,
182 DataIsPrimaryDefault = (Data | DataTypeBool) + 3,
183 DataIsDefault = (Data | DataTypeBool) + 4,
184 DataData1 = (Data | DataTypeInt) + 5,
185 DataData2 = (Data | DataTypeString) + 6,
186 DataData3 = (Data | DataTypeString) + 7,
187 DataData4 = (Data | DataTypeString) + 8,
188 DataData5 = (Data | DataTypeString) + 9,
189 DataData6 = (Data | DataTypeString) + 10,
190 DataData7 = (Data | DataTypeString) + 11,
191 DataData8 = (Data | DataTypeString) + 12,
192 DataData9 = (Data | DataTypeString) + 13,
193 DataData10 = (Data | DataTypeString) + 14,
196 NameId = (Name | DataTypeInt | ReadOnly),
197 NameContactId = (Name | DataTypeInt) + 1,
198 NameFirst = (Name | DataTypeString) + 2,
199 NameLast = (Name | DataTypeString) + 3,
200 NameAddition = (Name | DataTypeString) + 4,
201 NameSuffix = (Name | DataTypeString) + 5,
202 NamePrefix = (Name | DataTypeString) + 6,
203 NamePhoneticFirst = (Name | DataTypeString) + 7,
204 NamePhoneticMiddle = (Name | DataTypeString) + 8,
205 NamePhoneticLast = (Name | DataTypeString) + 9,
208 NumberId = (Number | DataTypeInt | ReadOnly),
209 NumberContactId = (Number | DataTypeInt) + 1,
210 NumberType = (Number | DataTypeInt) + 2,
211 NumberLabel = (Number | DataTypeString) + 3,
212 NumberIsDefault = (Number | DataTypeBool) + 4,
213 NumberNumber = (Number | DataTypeString) + 5,
214 NumberNumberFilter = (Number | DataTypeString) + 6,
215 NumberNormalizedNumber = (Number | DataTypeString | ReadOnly) + 7,
216 NumberCleanedNumber = (Number | DataTypeString | ReadOnly) + 8,
219 EmailId = (Email | DataTypeInt | ReadOnly),
220 EmailContactId = (Email | DataTypeInt) + 1,
221 EmailType = (Email | DataTypeInt) + 2,
222 EmailLabel = (Email | DataTypeString) + 3,
223 EmailIsDefault = (Email | DataTypeBool) + 4,
224 EmailEmail = (Email | DataTypeString) + 5,
226 /* contact_address */
227 AddressId = (Address | DataTypeInt | ReadOnly),
228 AddressContactId = (Address | DataTypeInt) + 1,
229 AddressType = (Address | DataTypeInt) + 2,
230 AddressLabel = (Address | DataTypeString) + 3,
231 AddressPostbox = (Address | DataTypeString) + 4,
232 AddressPostalCode = (Address | DataTypeString) + 5,
233 AddressRegion = (Address | DataTypeString) + 6,
234 AddressLocality = (Address | DataTypeString) + 7,
235 AddressStreet = (Address | DataTypeString) + 8,
236 AddressCountry = (Address | DataTypeString) + 9,
237 AddressExtended = (Address | DataTypeString) + 10,
238 AddressIsDefault = (Address | DataTypeBool) + 11,
241 URLId = (URL | DataTypeInt | ReadOnly),
242 URLContactId = (URL | DataTypeInt) + 1,
243 URLType = (URL | DataTypeInt) + 2,
244 URLLabel = (URL | DataTypeString) + 3,
245 URLData = (URL | DataTypeString) + 4,
248 EventId = (Event | DataTypeInt | ReadOnly),
249 EventContactId = (Event | DataTypeInt) + 1,
250 EventType = (Event | DataTypeInt) + 2,
251 EventLabel = (Event | DataTypeString) + 3,
252 EventDate = (Event | DataTypeInt) + 4,
253 EventCalendarType = (Event | DataTypeInt) + 5,
254 EventIsLeapMonth = (Event | DataTypeBool) + 6,
256 /* contact_grouprelation */
257 GroupRelationId = (GroupRelation | DataTypeInt | ReadOnly),
258 GroupRelationGroupId = (GroupRelation | DataTypeInt) + 1,
259 GroupRelationContactId = (GroupRelation | DataTypeInt) + 2,
260 GroupRelationGroupName = (GroupRelation | DataTypeString) + 3,
262 /* contact_relationship */
263 RelationshipId = (Relationship | DataTypeInt | ReadOnly),
264 RelationshipContactId = (Relationship | DataTypeInt) + 1,
265 RelationshipType = (Relationship | DataTypeInt) + 2,
266 RelationshipLabel = (Relationship | DataTypeString) + 3,
267 RelationshipName = (Relationship | DataTypeString) + 4,
270 ImageId = (Image | DataTypeInt | ReadOnly),
271 ImageContactId = (Image | DataTypeInt) + 1,
272 ImageType = (Image | DataTypeInt) + 2,
273 ImageLabel = (Image | DataTypeString) + 3,
274 ImagePath = (Image | DataTypeString) + 4,
275 ImageIsDefault = (Image | DataTypeBool) + 5,
277 /* contact_company */
278 CompanyId = (Company | DataTypeInt | ReadOnly),
279 CompanyContactId = (Company | DataTypeInt) + 1,
280 CompanyType = (Company | DataTypeInt) + 2,
281 CompanyLabel = (Company | DataTypeString) + 3,
282 CompanyName = (Company | DataTypeString) + 4,
283 CompanyDepartment = (Company | DataTypeString) + 5,
284 CompanyJobTitle = (Company | DataTypeString) + 6,
285 CompanyRole = (Company | DataTypeString) + 7,
286 CompanyAssistantName = (Company | DataTypeString) + 8,
287 CompanyLogo = (Company | DataTypeString) + 9,
288 CompanyLocation = (Company | DataTypeString) + 10,
289 CompanyDescription = (Company | DataTypeString) + 11,
290 CompanyPhoneticName = (Company | DataTypeString) + 12,
292 /* contact_nickname */
293 NicknameId = (Nickname | DataTypeInt | ReadOnly),
294 NicknameContactId = (Nickname | DataTypeInt) + 1,
295 NicknameName = (Nickname | DataTypeString) + 2,
297 /* contact_messenger */
298 MessengerId = (Messenger | DataTypeInt | ReadOnly),
299 MessengerContactId = (Messenger | DataTypeInt) + 1,
300 MessengerType = (Messenger | DataTypeInt) + 2,
301 MessengerLabel = (Messenger | DataTypeString) + 3,
302 MessengerIMId = (Messenger | DataTypeString) + 4,
305 NoteId = (Note | DataTypeInt | ReadOnly),
306 NoteContactId = (Note | DataTypeInt) + 1,
307 NoteNote = (Note | DataTypeString) + 2,
310 SipId = (Sip | DataTypeInt | ReadOnly),
311 SipContactId = (Sip | DataTypeInt) + 1,
312 SipAddress = (Sip | DataTypeString) + 2,
313 SipType = (Sip | DataTypeInt) + 3,
314 SipLabel = (Sip | DataTypeString) + 4,
316 /* contact_profile */
317 ProfileId = (Profile | DataTypeInt | ReadOnly),
318 ProfileContactId = (Profile | DataTypeInt) + 1,
319 ProfileUId = (Profile | DataTypeString) + 2,
320 ProfileText = (Profile | DataTypeString) + 3,
321 ProfileOrder = (Profile | DataTypeInt) + 4,
322 ProfileServiceOperation = (Profile | DataTypeString) + 5,
323 ProfileMIME = (Profile | DataTypeString) + 6,
324 ProfileAppId = (Profile | DataTypeString) + 7,
325 ProfileUri = (Profile | DataTypeString) + 8,
326 ProfileCategory = (Profile | DataTypeString) + 9,
327 ProfileExtraData = (Profile | DataTypeString) + 10,
329 ExtensionId = (Extension | DataTypeInt | ReadOnly),
330 ExtensionContactId = (Extension | DataTypeInt) + 1,
331 ExtensionData1 = (Extension | DataTypeInt) + 2,
332 ExtensionData2 = (Extension | DataTypeString) + 3,
333 ExtensionData3 = (Extension | DataTypeString) + 4,
334 ExtensionData4 = (Extension | DataTypeString) + 5,
335 ExtensionData5 = (Extension | DataTypeString) + 6,
336 ExtensionData6 = (Extension | DataTypeString) + 7,
337 ExtensionData7 = (Extension | DataTypeString) + 8,
338 ExtensionData8 = (Extension | DataTypeString) + 9,
339 ExtensionData9 = (Extension | DataTypeString) + 10,
340 ExtensionData10 = (Extension | DataTypeString) + 11,
341 ExtensionData11 = (Extension | DataTypeString) + 12,
342 ExtensionData12 = (Extension | DataTypeString) + 13,
345 SpeedDialDialNumber = (SpeedDial | DataTypeInt),
346 SpeedDialNumberId = (SpeedDial | DataTypeInt) + 1,
347 SpeedDialNumber = (SpeedDial | DataTypeString | ReadOnly) + 2,
348 SpeedDialNumberLabel = (SpeedDial | DataTypeString | ReadOnly) + 3,
349 SpeedDialNumberType = (SpeedDial | DataTypeInt | ReadOnly) + 4,
350 SpeedDialPersonId = (SpeedDial | DataTypeInt | ReadOnly) + 5,
351 SpeedDialDisplayName = (SpeedDial | DataTypeString | ReadOnly) + 6,
352 SpeedDialThumbnail = (SpeedDial | DataTypeString | ReadOnly) + 7,
353 SpeedDialNormalizedNumber = (SpeedDial | DataTypeString | ReadOnly) + 8,
354 SpeedDialCleanedNumber = (SpeedDial | DataTypeString | ReadOnly) + 9,
355 SpeedDialNumberFilter = (SpeedDial | DataTypeString | ReadOnly) + 10,
358 PhonelogId = (Phonelog | DataTypeInt | ReadOnly),
359 PhonelogPersonId = (Phonelog | DataTypeInt) + 1,
360 PhonelogAddress = (Phonelog | DataTypeString) + 2,
361 PhonelogLogTime = (Phonelog | DataTypeInt) + 3,
362 PhonelogLogType = (Phonelog | DataTypeInt) + 4,
363 PhonelogExtraData1 = (Phonelog | DataTypeInt) + 5,
364 PhonelogExtraData2 = (Phonelog | DataTypeString) + 6,
365 PhonelogNormalizedAddress = (Phonelog | DataTypeString | ReadOnly) + 7,
366 PhonelogCleanedAddress = (Phonelog | DataTypeString | ReadOnly) + 8,
367 PhonelogAddressFilter = (Phonelog | DataTypeString | ReadOnly) + 9,
368 PhonelogSimSlotNo = (Phonelog | DataTypeInt) + 10,
371 PhonelogStatLogCount = (PhonelogStat | DataTypeInt | ReadOnly),
372 PhonelogStatLogType = (PhonelogStat | DataTypeInt | ReadOnly) + 1,
373 PhonelogStatSimSlotNo = (PhonelogStat | DataTypeInt | ReadOnly) + 2,
375 /* updated_info : read only */
376 UpdateInfoId = (UpdateInfo | DataTypeInt),
377 UpdateInfoAddressBookId = (UpdateInfo | DataTypeInt) + 1,
378 UpdateInfoType = (UpdateInfo | DataTypeInt) + 2,
379 UpdateInfoVersion = (UpdateInfo | DataTypeInt) + 3,
380 UpdateInfoImageChanged = (UpdateInfo | DataTypeBool) + 4,
381 UpdateInfoLastChangedType = (UpdateInfo | DataTypeInt) + 5,
385 internal static class Record
387 internal const uint AverageSize = 120; /* average size of person record */
391 /// Enumeration for contact change state.
393 /// <since_tizen> 4 </since_tizen>
394 public enum ChangeType
411 /// Describes properties of a Address book record.
413 /// <since_tizen> 4 </since_tizen>
414 public static class AddressBook
417 /// Identifier of this contacts address book view
419 public const string Uri = "tizen.contacts_view.addressbook";
421 /// integer, read only, DB record ID of the address book
423 public const uint Id = (uint)Property.Id.AddressBookId;
425 /// integer, read/write once, Account ID that the address book belongs to
427 public const uint AccountId = (uint)Property.Id.AddressBookAccountId;
429 /// string, read/write, It cannot be NULL. Duplicate names are not allowed.
431 public const uint Name = (uint)Property.Id.AddressBookName;
433 /// integer, read/write, AddressBook mode, refer to the ModeValue
435 public const uint Mode = (uint)Property.Id.AddressBookMode;
438 /// Enumeration for Address book mode.
440 /// <since_tizen> 4 </since_tizen>
441 public enum ModeValue
444 /// All module can read and write contacts of this address_book
448 /// All module can only read contacts of this address_book
455 /// Describes properties of a Group record.
457 /// <since_tizen> 4 </since_tizen>
458 public static class Group
461 /// Identifier of this contacts group view
463 public const string Uri = "tizen.contacts_view.group";
465 /// DB record ID of the group
467 public const uint Id = (uint)Property.Id.GroupId;
469 /// AddressBook ID that the group belongs to
471 public const uint AddressBookId = (uint)Property.Id.GroupAddressBookId;
475 public const uint Name = (uint)Property.Id.GroupName;
477 /// Ringtone path of the group
479 public const uint RingtonePath = (uint)Property.Id.GroupRingtone;
481 /// Image path of the group
483 public const uint ImagePath = (uint)Property.Id.GroupImage;
485 /// Vibration path of the group
487 public const uint Vibration = (uint)Property.Id.GroupVibration;
489 /// Extra data for default group name
491 public const uint ExtraData = (uint)Property.Id.GroupExtraData;
493 /// The group is read only or not
495 public const uint IsReadOnly = (uint)Property.Id.GroupIsReadOnly;
497 /// Message alert path of the group
499 public const uint MessageAlert = (uint)Property.Id.GroupMessageAlert;
503 /// Describes properties of a Person record.
505 /// <since_tizen> 4 </since_tizen>
506 public static class Person
509 /// Identifier of this contacts person view
511 public const string Uri = "tizen.contacts_view.person";
513 /// DB record ID of the person
515 public const uint Id = (uint)Property.Id.PersonId;
517 /// Display name of the person
519 public const uint DisplayName = (uint)Property.Id.PersonDisplayName;
521 /// The first character of first string for grouping. This is normalized using ICU (projection)
523 public const uint DisplayNameIndex = (uint)Property.Id.PersonDisplayNameIndex;
525 /// Display contact ID that the person belongs to
527 public const uint DisplayContactId = (uint)Property.Id.PersonDisplayContactId;
529 /// Ringtone path of the person
531 public const uint RingtonePath = (uint)Property.Id.PersonRingtone;
533 /// Image thumbnail path of the person
535 public const uint ThumbnailPath = (uint)Property.Id.PersonThumbnail;
537 /// Vibration path of the person
539 public const uint Vibration = (uint)Property.Id.PersonVibration;
541 /// Message alert path of the person
543 public const uint MessageAlert = (uint)Property.Id.PersonMessageAlert;
545 /// Status of social account
547 public const uint Status = (uint)Property.Id.PersonStatus;
549 /// The person is favorite or not
551 public const uint IsFavorite = (uint)Property.Id.PersonIsFavorite;
553 /// The priority of favorite contacts. it can be used as sorting key
555 public const uint FavoritePriority = (uint)Property.Id.PersonFavoritePriority;
557 /// Link count of contact records (projection)
559 public const uint LinkCount = (uint)Property.Id.PersonLinkCount;
561 /// AddressBook IDs that the person belongs to (projection)
563 public const uint AddressBookIds = (uint)Property.Id.PersonAddressBookIds;
565 /// The person has phone number or not
567 public const uint HasPhoneNumber = (uint)Property.Id.PersonHasPhoneNumber;
569 /// The person has email or not
571 public const uint HasEmail = (uint)Property.Id.PersonHasEmail;
573 /// keyword matched data type
575 public const uint SnippetType = (uint)Property.Id.PersonSnippetType;
577 /// keyword matched data string
579 public const uint SnippetString = (uint)Property.Id.PersonSnippetString;
583 /// Describes properties of a Contact record.
585 /// <since_tizen> 4 </since_tizen>
586 public static class Contact
589 /// Identifier of this contact view
591 public const string Uri = "tizen.contacts_view.contact";
593 /// DB record ID of the contact
595 public const uint Id = (uint)Property.Id.ContactId;
597 /// Display name of the contact
599 public const uint DisplayName = (uint)Property.Id.ContactDisplayName;
601 /// The source type of display name, refer to the DisplayNameSourceType
603 public const uint DisplaySourceType = (uint)Property.Id.ContactDisplaySourceDataId;
605 /// AddressBook ID that the contact belongs to
607 public const uint AddressBookId = (uint)Property.Id.ContactAddressBookId;
609 /// Ringtone path of the contact
611 public const uint RingtonePath = (uint)Property.Id.ContactRingtone;
613 /// Image thumbnail path of the contact
615 public const uint ThumbnailPath = (uint)Property.Id.ContactThumbnail;
617 /// The contact is favorite or not
619 public const uint IsFavorite = (uint)Property.Id.ContactIsFavorite;
621 /// The contact has phone number or not
623 public const uint HasPhoneNumber = (uint)Property.Id.ContactHasPhoneNumber;
625 /// The contact has email or not
627 public const uint HasEmail = (uint)Property.Id.ContactHasEmail;
629 /// Person ID that the contact belongs to. If set when inserting, a contact will be linked to person
631 public const uint PersonId = (uint)Property.Id.ContactPersonId;
633 /// Unique identifier
635 public const uint UId = (uint)Property.Id.ContactUId;
637 /// Vibration path of the contact
639 public const uint Vibration = (uint)Property.Id.ContactVibration;
641 /// Message alert path of the contact
643 public const uint MessageAlert = (uint)Property.Id.ContactMessageAlert;
645 /// Last changed contact time
647 public const uint ChangedTime = (uint)Property.Id.ContactChangedTime;
649 /// The link mode, refer to the LinkModeValue. If the person_id was set, this value will be ignored
651 public const uint LinkMode = (uint)Property.Id.ContactLinkMode;
653 /// Name child record (single)
655 public const uint Name = (uint)Property.Id.ContactName;
657 /// Company child record (multiple)
659 public const uint Company = (uint)Property.Id.ContactCompany;
661 /// Note child record (multiple)
663 public const uint Note = (uint)Property.Id.ContactNote;
665 /// Number child record (multiple)
667 public const uint Number = (uint)Property.Id.ContactNumber;
669 /// Email child record (multiple)
671 public const uint Email = (uint)Property.Id.ContactEmail;
673 /// Event child record (multiple)
675 public const uint Event = (uint)Property.Id.ContactEvent;
677 /// Messenger child record (multiple)
679 public const uint Messenger = (uint)Property.Id.ContactMessenger;
681 /// Address child record (multiple)
683 public const uint Address = (uint)Property.Id.ContactAddress;
685 /// URL child record (multiple)
687 public const uint URL = (uint)Property.Id.ContactURL;
689 /// Nickname child record (multiple)
691 public const uint Nickname = (uint)Property.Id.ContactNickname;
693 /// Profile child record (multiple)
695 public const uint Profile = (uint)Property.Id.ContactProfile;
697 /// Relationship child record (multiple)
699 public const uint Relationship = (uint)Property.Id.ContactRelationship;
701 /// Image child record (multiple)
703 public const uint Image = (uint)Property.Id.ContactImage;
705 /// GroupRelation child record (multiple)
707 public const uint GroupRelation = (uint)Property.Id.ContactGroupRelation;
709 /// Extension child record (multiple)
711 public const uint Extension = (uint)Property.Id.ContactExtension;
713 /// Sip child record (multiple)
715 public const uint Sip = (uint)Property.Id.ContactSip;
718 /// Enumeration for link mode when inserting contact.
720 /// <since_tizen> 4 </since_tizen>
721 public enum LinkModeValue
724 /// Auto link immediately
728 /// Do not auto link when the contact is inserted
734 /// Enumeration for Contact display name source type.
736 /// <since_tizen> 4 </since_tizen>
737 public enum DisplayNameSourceType
740 /// Invalid source of display name
744 /// Produced display name from email record
748 /// Produced display name from number record
752 /// Produced display name from nickname record
756 /// Produced display name from company record
760 /// Produced display name from name record
766 /// Enumeration for contacts data type.
768 /// <since_tizen> 4 </since_tizen>
839 /// Describes properties of a Simple contact record.
841 /// <since_tizen> 4 </since_tizen>
842 public static class SimpleContact
845 /// Identifier of this simple contact view
847 public const string Uri = "tizen.contacts_view.simple_contact";
849 /// DB record ID of the contact
851 public const uint Id = (uint)Property.Id.ContactId;
853 /// Display name of the contact
855 public const uint DisplayName = (uint)Property.Id.ContactDisplayName;
857 /// The source type of display name, refer to the Contact.DisplayNameSourceType
859 public const uint DisplaySourceType = (uint)Property.Id.ContactDisplaySourceDataId;
861 /// AddressBook that the contact belongs to
863 public const uint AddressBookId = (uint)Property.Id.ContactAddressBookId;
865 /// Ringtone path of the contact
867 public const uint RingtonePath = (uint)Property.Id.ContactRingtone;
869 /// Image thumbnail path of the contact
871 public const uint ThumbnailPath = (uint)Property.Id.ContactThumbnail;
873 /// The contact is favorite or not
875 public const uint IsFavorite = (uint)Property.Id.ContactIsFavorite;
877 /// The contact has phone number or not
879 public const uint HasPhoneNumber = (uint)Property.Id.ContactHasPhoneNumber;
881 /// The contact has email or not
883 public const uint HasEmail = (uint)Property.Id.ContactHasEmail;
885 /// Person ID that the contact belongs to
887 public const uint PersonId = (uint)Property.Id.ContactPersonId;
889 /// Unique identifier
891 public const uint UId = (uint)Property.Id.ContactUId;
893 /// Vibration path of the contact
895 public const uint Vibration = (uint)Property.Id.ContactVibration;
897 /// Message alert path of the contact
899 public const uint MessageAlert = (uint)Property.Id.ContactMessageAlert;
901 /// Last changed contact time
903 public const uint ChangedTime = (uint)Property.Id.ContactChangedTime;
907 /// Describes properties of a My profile record.
909 /// <since_tizen> 4 </since_tizen>
910 public static class MyProfile
913 /// Identifier of this my profile view
915 public const string Uri = "tizen.contacts_view.my_profile";
917 /// DB record ID of the my profile
919 public const uint Id = (uint)Property.Id.MyProfileId;
921 /// Display name of the profile
923 public const uint DisplayName = (uint)Property.Id.MyProfileDisplayName;
925 /// AddressBook ID that the profile belongs to
927 public const uint AddressBookId = (uint)Property.Id.MyProfileAddressBookId;
929 /// Image thumbnail path of the profile
931 public const uint ThumbnailPath = (uint)Property.Id.MyProfileThumbnail;
933 /// Unique identifier
935 public const uint UId = (uint)Property.Id.MyProfileUId;
937 /// Last changed profile time
939 public const uint ChangedTime = (uint)Property.Id.MyProfileChangedTime;
941 /// Name child record (single)
943 public const uint Name = (uint)Property.Id.MyProfileName;
945 /// Company child record (multiple)
947 public const uint Company = (uint)Property.Id.MyProfileCompany;
949 /// Note child record (multiple)
951 public const uint Note = (uint)Property.Id.MyProfileNote;
953 /// Number child record (multiple)
955 public const uint Number = (uint)Property.Id.MyProfileNumber;
957 /// Email child record (multiple)
959 public const uint Email = (uint)Property.Id.MyProfileEmail;
961 /// Event child record (multiple)
963 public const uint Event = (uint)Property.Id.MyProfileEvent;
965 /// Messenger child record (multiple)
967 public const uint Messenger = (uint)Property.Id.MyProfileMessenger;
969 /// Address child record (multiple)
971 public const uint Address = (uint)Property.Id.MyProfileAddress;
973 /// URL child record (multiple)
975 public const uint URL = (uint)Property.Id.MyProfileURL;
977 /// Nickname child record (multiple)
979 public const uint Nickname = (uint)Property.Id.MyProfileNickname;
981 /// Profile child record (multiple)
983 public const uint Profile = (uint)Property.Id.MyProfileProfile;
985 /// Relationship child record (multiple)
987 public const uint Relationship = (uint)Property.Id.MyProfileRelationship;
989 /// Image child record (multiple)
991 public const uint Image = (uint)Property.Id.MyProfileImage;
993 /// Extension child record (multiple)
995 public const uint Extension = (uint)Property.Id.MyProfileExtension;
997 /// Sip child record (multiple)
999 public const uint Sip = (uint)Property.Id.MyProfileSip;
1003 /// Describes properties of a Name record.
1005 /// <since_tizen> 4 </since_tizen>
1006 public static class Name
1009 /// Identifier of this contacts name view
1011 public const string Uri = "tizen.contacts_view.name";
1013 /// DB record ID of the name
1015 public const uint Id = (uint)Property.Id.NameId;
1017 /// Contacts ID that the name record belongs to
1019 public const uint ContactId = (uint)Property.Id.NameContactId;
1023 public const uint First = (uint)Property.Id.NameFirst;
1027 public const uint Last = (uint)Property.Id.NameLast;
1031 public const uint Addition = (uint)Property.Id.NameAddition;
1035 public const uint Suffix = (uint)Property.Id.NameSuffix;
1039 public const uint Prefix = (uint)Property.Id.NamePrefix;
1041 /// Pronounce the first name
1043 public const uint PhoneticFirst = (uint)Property.Id.NamePhoneticFirst;
1045 /// Pronounce the middle name
1047 public const uint PhoneticMiddle = (uint)Property.Id.NamePhoneticMiddle;
1049 /// Pronounce the last name
1051 public const uint PhoneticLast = (uint)Property.Id.NamePhoneticLast;
1055 /// Describes properties of a Number record.
1057 /// <since_tizen> 4 </since_tizen>
1058 public static class Number
1061 /// Identifier of this contacts number view
1063 public const string Uri = "tizen.contacts_view.number";
1065 /// DB record ID of the number
1067 public const uint Id = (uint)Property.Id.NumberId;
1069 /// Contact ID that the number belongs to
1071 public const uint ContactId = (uint)Property.Id.NumberContactId;
1073 /// Number type, refer to the Types
1075 public const uint Type = (uint)Property.Id.NumberType;
1077 /// Custom number type label, when the number type is Types.Custom
1079 public const uint Label = (uint)Property.Id.NumberLabel;
1081 /// The number is default number or not
1083 public const uint IsDefault = (uint)Property.Id.NumberIsDefault;
1087 public const uint NumberData = (uint)Property.Id.NumberNumber;
1089 /// You can only use this property for search filter.
1091 public const uint NormalizedNumber = (uint)Property.Id.NumberNormalizedNumber;
1093 /// You can only use this property for search filter.
1095 public const uint CleanedNumber = (uint)Property.Id.NumberCleanedNumber;
1097 /// You can only use this property for search filter.
1099 public const uint NumberFilter = (uint)Property.Id.NumberNumberFilter;
1102 /// Enumeration for number type.
1104 /// <since_tizen> 4 </since_tizen>
1109 /// Other number type
1113 /// Custom number type
1117 /// A telephone number associated with a residence
1121 /// A telephone number associated with a place of work
1125 /// A voice telephone number
1129 /// A facsimile telephone number
1133 /// The telephone number has voice messaging support
1137 /// A cellular telephone number
1141 /// A paging device telephone number
1145 /// A bulletin board system telephone number
1149 /// A MODEM connected telephone number
1153 /// A car-phone telephone number
1157 /// An ISDN service telephone number
1161 /// A video conferencing telephone number
1165 /// A personal communication services telephone number
1169 /// A company main number
1173 /// A radio phone number
1177 /// An additional type for main
1181 /// An additional type for assistant
1183 Assistant = 1 << 30,
1188 /// Describes properties of a Email record.
1190 /// <since_tizen> 4 </since_tizen>
1191 public static class Email
1194 /// Identifier of this contacts email view
1196 public const string Uri = "tizen.contacts_view.email";
1198 /// DB record ID of the email
1200 public const uint Id = (uint)Property.Id.EmailId;
1202 /// Contact ID that the email belongs to
1204 public const uint ContactId = (uint)Property.Id.EmailContactId;
1206 /// Email type, refer to the Types
1208 public const uint Type = (uint)Property.Id.EmailType;
1210 /// Custom mail type label, when the email type is Types.Custom
1212 public const uint Label = (uint)Property.Id.EmailLabel;
1214 /// The email is default email or not
1216 public const uint IsDefault = (uint)Property.Id.EmailIsDefault;
1220 public const uint Address = (uint)Property.Id.EmailEmail;
1223 /// Enumeration for Contact email type.
1225 /// <since_tizen> 4 </since_tizen>
1230 /// Other email type
1234 /// Custom email type
1238 /// An email address associated with a residence
1242 /// An email address associated with a place of work
1246 /// A mobile email address
1253 /// Describes properties of a Address record.
1255 /// <since_tizen> 4 </since_tizen>
1256 public static class Address
1259 /// Identifier of this contacts address view
1261 public const string Uri = "tizen.contacts_view.address";
1263 /// DB record ID of the address
1265 public const uint Id = (uint)Property.Id.AddressId;
1267 /// Contact ID that the address belongs to
1269 public const uint ContactId = (uint)Property.Id.AddressContactId;
1271 /// Address type, refer to the Types
1273 public const uint Type = (uint)Property.Id.AddressType;
1275 /// Address type label, when the address type is Types.Custom
1277 public const uint Label = (uint)Property.Id.AddressLabel;
1281 public const uint Postbox = (uint)Property.Id.AddressPostbox;
1285 public const uint PostalCode = (uint)Property.Id.AddressPostalCode;
1289 public const uint Region = (uint)Property.Id.AddressRegion;
1293 public const uint Locality = (uint)Property.Id.AddressLocality;
1297 public const uint Street = (uint)Property.Id.AddressStreet;
1301 public const uint Country = (uint)Property.Id.AddressCountry;
1303 /// Extended address
1305 public const uint Extended = (uint)Property.Id.AddressExtended;
1307 /// The address is default or not
1309 public const uint IsDefault = (uint)Property.Id.AddressIsDefault;
1312 /// Enumeration for Contact address type.
1314 /// <since_tizen> 4 </since_tizen>
1319 /// Other address type
1323 /// Custom address type
1327 /// A delivery address for a residence
1331 /// A delivery address for a place of work
1335 /// A domestic delivery address
1339 /// An international delivery address
1341 International = 1 << 4,
1343 /// A postal delivery address
1347 /// A parcel delivery address
1354 /// Describes properties of a Note record.
1356 /// <since_tizen> 4 </since_tizen>
1357 public static class Note
1360 /// Identifier of this contacts note view
1362 public const string Uri = "tizen.contacts_view.note";
1364 /// DB record ID of the note
1366 public const uint Id = (uint)Property.Id.NoteId;
1368 /// Contact ID that the note belongs to
1370 public const uint ContactId = (uint)Property.Id.NoteContactId;
1374 public const uint Contents = (uint)Property.Id.NoteNote;
1378 /// Describes properties of a URL record.
1380 /// <since_tizen> 4 </since_tizen>
1381 public static class URL
1384 /// Identifier of this contacts URL view
1386 public const string Uri = "tizen.contacts_view.url";
1388 /// DB record ID of the URL
1390 public const uint Id = (uint)Property.Id.URLId;
1392 /// Contact ID that the URL belongs to
1394 public const uint ContactId = (uint)Property.Id.URLContactId;
1396 /// URL type, refer to the TypeValue
1398 public const uint Type = (uint)Property.Id.URLType;
1400 /// Custom URL type label, when the URL type is TypeValue.Custom
1402 public const uint Label = (uint)Property.Id.URLLabel;
1406 public const uint URLData = (uint)Property.Id.URLData;
1409 /// Enumeration for Contact URL type.
1411 /// <since_tizen> 4 </since_tizen>
1412 public enum TypeValue
1434 /// Describes properties of a Event record.
1436 /// <since_tizen> 4 </since_tizen>
1437 [SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords")]
1438 public static class Event
1441 /// Identifier of this contacts event view
1443 public const string Uri = "tizen.contacts_view.event";
1445 /// DB record ID of the event
1447 public const uint Id = (uint)Property.Id.EventId;
1449 /// Contact ID that the event belongs to
1451 public const uint ContactId = (uint)Property.Id.EventContactId;
1453 /// Event type, refer to the TypeValue
1455 public const uint Type = (uint)Property.Id.EventType;
1457 /// Custom event type label, when the event type is TypeValue.Custom
1459 public const uint Label = (uint)Property.Id.EventLabel;
1461 /// 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
1463 public const uint Date = (uint)Property.Id.EventDate;
1465 /// Calendar type, refer to the CalendarType
1467 public const uint IsLeapMonth = (uint)Property.Id.EventIsLeapMonth;
1470 /// Enumeration for Contact event type.
1472 /// <since_tizen> 4 </since_tizen>
1473 public enum TypeValue
1476 /// Other event type
1480 /// Custom event type
1484 /// Birthday event type
1488 /// Anniversary event type
1494 /// Enumeration for Contact event calendar type.
1496 /// <since_tizen> 4 </since_tizen>
1497 public enum CalendarType
1500 /// Gregorian calendar
1504 /// Chinese calendar
1511 /// Describes properties of a Relationship record.
1513 /// <since_tizen> 4 </since_tizen>
1514 public static class Relationship
1517 /// Identifier of this relationship view
1519 public const string Uri = "tizen.contacts_view.relationship";
1521 /// DB record ID of the relationship
1523 public const uint Id = (uint)Property.Id.RelationshipId;
1525 /// Contact ID that the relationship belongs to
1527 public const uint ContactId = (uint)Property.Id.RelationshipContactId;
1529 /// Relationship type, refer to the TypeValue
1531 public const uint Type = (uint)Property.Id.RelationshipType;
1533 /// Custom relationship type label, when the relationship type is TypeValue.Custom
1535 public const uint Label = (uint)Property.Id.RelationshipLabel;
1537 /// Selected contact name that the relationship belongs to
1539 public const uint Name = (uint)Property.Id.RelationshipName;
1542 /// Enumeration for Contact relationship type.
1544 /// <since_tizen> 4 </since_tizen>
1545 public enum TypeValue
1548 /// Other relationship type
1564 /// Domestic Partner type
1592 /// Referred by type
1615 /// Describes properties of a Image record.
1617 /// <since_tizen> 4 </since_tizen>
1618 public static class Image
1621 /// Identifier of this contacts image view
1623 public const string Uri = "tizen.contacts_view.image";
1625 /// DB record ID of the image
1627 public const uint Id = (uint)Property.Id.ImageId;
1629 /// Contact ID that the image belongs to
1631 public const uint ContactId = (uint)Property.Id.ImageContactId;
1633 /// Image type, refer to the TypeValue
1635 public const uint Type = (uint)Property.Id.ImageType;
1637 /// Custom image type label, when the image type is TypeValue.Custom
1639 public const uint Label = (uint)Property.Id.ImageLabel;
1641 /// Image thumbnail path
1643 public const uint Path = (uint)Property.Id.ImagePath;
1645 /// The Image is default or not
1647 public const uint IsDefault = (uint)Property.Id.ImageIsDefault;
1650 /// Enumeration for Contact image type.
1652 /// <since_tizen> 4 </since_tizen>
1653 public enum TypeValue
1667 /// Describes properties of a Company record.
1669 /// <since_tizen> 4 </since_tizen>
1670 public static class Company
1673 /// Identifier of this contacts company view
1675 public const string Uri = "tizen.contacts_view.company";
1677 /// DB record ID of the company
1679 public const uint Id = (uint)Property.Id.CompanyId;
1681 /// Contact ID that the company belongs to
1683 public const uint ContactId = (uint)Property.Id.CompanyContactId;
1685 /// Company type, refer to the TypeValue
1687 public const uint Type = (uint)Property.Id.CompanyType;
1689 /// Custom company type label, when the company type is TypeValue.Custom
1691 public const uint Label = (uint)Property.Id.CompanyLabel;
1695 public const uint Name = (uint)Property.Id.CompanyName;
1699 public const uint Department = (uint)Property.Id.CompanyDepartment;
1703 public const uint JobTitle = (uint)Property.Id.CompanyJobTitle;
1707 public const uint AssistantName = (uint)Property.Id.CompanyAssistantName;
1711 public const uint Role = (uint)Property.Id.CompanyRole;
1713 /// Company logo image file path
1715 public const uint Logo = (uint)Property.Id.CompanyLogo;
1717 /// Company location
1719 public const uint Location = (uint)Property.Id.CompanyLocation;
1723 public const uint Description = (uint)Property.Id.CompanyDescription;
1725 /// Pronounce the company name
1727 public const uint PhoneticName = (uint)Property.Id.CompanyPhoneticName;
1730 /// Enumeration for Contact company type.
1732 /// <since_tizen> 4 </since_tizen>
1733 public enum TypeValue
1751 /// Describes properties of a Nickname record.
1753 /// <since_tizen> 4 </since_tizen>
1754 public static class Nickname
1757 /// Identifier of this contacts nickname view
1759 public const string Uri = "tizen.contacts_view.nickname";
1761 /// DB record ID of the nickname
1763 public const uint Id = (uint)Property.Id.NicknameId;
1765 /// Contact ID that the nickname belongs to
1767 public const uint ContactId = (uint)Property.Id.NicknameContactId;
1771 public const uint Name = (uint)Property.Id.NicknameName;
1775 /// Describes properties of a Messenger record.
1777 /// <since_tizen> 4 </since_tizen>
1778 public static class Messenger
1781 /// Identifier of this contacts messenger view
1783 public const string Uri = "tizen.contacts_view.messenger";
1785 /// DB record ID of the messenger
1787 public const uint Id = (uint)Property.Id.MessengerId;
1789 /// Contact ID that the messenger belongs to
1791 public const uint ContactId = (uint)Property.Id.MessengerContactId;
1793 /// Messenger type, refer to the TypeValue
1795 public const uint Type = (uint)Property.Id.MessengerType;
1797 /// Custom messenger type label, when the messenger type is TypeValue.Custom
1799 public const uint Label = (uint)Property.Id.MessengerLabel;
1801 /// Messenger ID (email address or email ID...)
1803 public const uint IMId = (uint)Property.Id.MessengerIMId;
1806 /// Enumeration for Contact messenger type.
1808 /// <since_tizen> 4 </since_tizen>
1809 public enum TypeValue
1812 /// Other messenger type
1816 /// Custom messenger type
1820 /// Google messenger type
1824 /// Windows live messenger type
1828 /// Yahoo messenger type
1832 /// Facebook messenger type
1840 /// AOL instance messenger type
1863 /// Describes properties of a Profile record.
1865 /// <since_tizen> 4 </since_tizen>
1866 [SuppressMessage("Microsoft.Naming", "CA1724:TypeNamesShouldNotMatchNamespaces")]
1867 public static class Profile
1870 /// Identifier of this contacts profile view
1872 public const string Uri = "tizen.contacts_view.profile";
1874 /// DB record ID of profile
1876 public const uint Id = (uint)Property.Id.ProfileId;
1878 /// Contacts ID that the profile belongs to
1880 public const uint ContactId = (uint)Property.Id.ProfileContactId;
1882 /// Unique identifier
1884 public const uint UId = (uint)Property.Id.ProfileUId;
1886 /// Profile contents
1888 public const uint Text = (uint)Property.Id.ProfileText;
1890 /// Priority to display the profile
1892 public const uint Order = (uint)Property.Id.ProfileOrder;
1894 /// Data for app_control_set_operation
1896 public const uint ServiceOperation = (uint)Property.Id.ProfileServiceOperation;
1898 /// Data for app_control_set_mime
1900 public const uint Mime = (uint)Property.Id.ProfileMIME;
1902 /// Data for app_control_set_app_id
1904 public const uint AppId = (uint)Property.Id.ProfileAppId;
1906 /// Data for app_control_set_uri
1908 public const uint ProfileUri = (uint)Property.Id.ProfileUri;
1910 /// Data for app_control_set_category
1912 public const uint Category = (uint)Property.Id.ProfileCategory;
1914 /// It includes "key:value,key:value," pairs. You should parse it. And you must base64 encode each key and value
1916 public const uint ExtraData = (uint)Property.Id.ProfileExtraData;
1920 /// Describes properties of a Sip record.
1922 /// <since_tizen> 4 </since_tizen>
1923 public static class Sip
1926 /// Identifier of this contacts sip view
1928 public const string Uri = "tizen.contacts_view.sip";
1930 /// DB record ID of the sip
1932 public const uint Id = (uint)Property.Id.SipId;
1934 /// Contact ID that the sip belongs to
1936 public const uint ContactId = (uint)Property.Id.SipContactId;
1940 public const uint Address = (uint)Property.Id.SipAddress;
1942 /// sip type, refer to the TypeValue
1944 public const uint Type = (uint)Property.Id.SipType;
1946 /// Custom sip type label, when the sip type is TypeValue.Custom
1948 public const uint Label = (uint)Property.Id.SipLabel;
1951 /// Enumeration for Contact SIP type.
1953 /// <since_tizen> 4 </since_tizen>
1954 public enum TypeValue
1976 /// Describes properties of a Extension record.
1978 /// <since_tizen> 4 </since_tizen>
1979 public static class Extension
1982 /// Identifier of this contacts extension view
1984 public const string Uri = "tizen.contacts_view.extension";
1986 /// DB record ID of the contact extension
1988 public const uint Id = (uint)Property.Id.ExtensionId;
1990 /// Contact ID that the contact extension belongs to
1992 public const uint ContactId = (uint)Property.Id.ExtensionContactId;
1994 /// The extra child record format for non-provided from contacts-service
1996 public const uint Data1 = (uint)Property.Id.ExtensionData1;
1998 /// The extra child record format for non-provided from contacts-service
2000 public const uint Data2 = (uint)Property.Id.ExtensionData2;
2002 /// The extra child record format for non-provided from contacts-service
2004 public const uint Data3 = (uint)Property.Id.ExtensionData3;
2006 /// The extra child record format for non-provided from contacts-service
2008 public const uint Data4 = (uint)Property.Id.ExtensionData4;
2010 /// The extra child record format for non-provided from contacts-service
2012 public const uint Data5 = (uint)Property.Id.ExtensionData5;
2014 /// The extra child record format for non-provided from contacts-service
2016 public const uint Data6 = (uint)Property.Id.ExtensionData6;
2018 /// The extra child record format for non-provided from contacts-service
2020 public const uint Data7 = (uint)Property.Id.ExtensionData7;
2022 /// The extra child record format for non-provided from contacts-service
2024 public const uint Data8 = (uint)Property.Id.ExtensionData8;
2026 /// The extra child record format for non-provided from contacts-service
2028 public const uint Data9 = (uint)Property.Id.ExtensionData9;
2030 /// The extra child record format for non-provided from contacts-service
2032 public const uint Data10 = (uint)Property.Id.ExtensionData10;
2034 /// The extra child record format for non-provided from contacts-service
2036 public const uint Data11 = (uint)Property.Id.ExtensionData11;
2038 /// The extra child record format for non-provided from contacts-service
2040 public const uint Data12 = (uint)Property.Id.ExtensionData12;
2044 /// Describes properties of a Group relation record.
2046 /// <since_tizen> 4 </since_tizen>
2047 public static class GroupRelation
2050 /// Identifier of this relationship view
2052 public const string Uri = "tizen.contacts_view.group_relation";
2054 /// DB record ID of the group relation (can not be used as filter)
2056 public const uint Id = (uint)Property.Id.GroupRelationId;
2058 /// DB record ID of the group
2060 public const uint GroupId = (uint)Property.Id.GroupRelationGroupId;
2062 /// DB record ID of the contact
2064 public const uint ContactId = (uint)Property.Id.GroupRelationContactId;
2068 public const uint Name = (uint)Property.Id.GroupRelationGroupName;
2072 /// Describes properties of a Speed dial record.
2074 /// <since_tizen> 4 </since_tizen>
2075 public static class SpeedDial
2078 /// Identifier of this contact speed dial view
2080 public const string Uri = "tizen.contacts_view.speeddial";
2082 /// Stored speed dial number
2084 public const uint SpeedDialNumber = (uint)Property.Id.SpeedDialDialNumber;
2086 /// Number ID that the speed dial belongs to
2088 public const uint NumberId = (uint)Property.Id.SpeedDialNumberId;
2090 /// Contact number of specified speed dial
2092 public const uint Number = (uint)Property.Id.SpeedDialNumber;
2094 /// Contact number label of specified speed dial, when the number type is Number.Types.Custom
2096 public const uint NumberLabel = (uint)Property.Id.SpeedDialNumberLabel;
2098 /// Contact number type, refer to the Number.Types
2100 public const uint NumberType = (uint)Property.Id.SpeedDialNumberType;
2102 /// Person ID that the speed dial belongs to
2104 public const uint PersonId = (uint)Property.Id.SpeedDialPersonId;
2106 /// Display name that the speed dial belongs to
2108 public const uint DisplayName = (uint)Property.Id.SpeedDialDisplayName;
2110 /// Image thumbnail path that the speed dial belongs to
2112 public const uint ThumbnailPath = (uint)Property.Id.SpeedDialThumbnail;
2114 /// You can only use this property for search filter
2116 public const uint NormalizedNumber = (uint)Property.Id.SpeedDialNormalizedNumber;
2118 /// You can only use this property for search filter
2120 public const uint CleanedNumber = (uint)Property.Id.SpeedDialCleanedNumber;
2122 /// 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
2124 public const uint NumberFilter = (uint)Property.Id.SpeedDialNumberFilter;
2128 /// Describes properties of a Phone log record.
2130 /// <since_tizen> 4 </since_tizen>
2131 public static class PhoneLog
2134 /// Identifier of this phone log view
2136 public const string Uri = "tizen.contacts_view.phonelog";
2138 /// DB record ID of phone log
2140 public const uint Id = (uint)Property.Id.PhonelogId;
2142 /// Person ID that the phone log belongs to
2144 public const uint PersonId = (uint)Property.Id.PhonelogPersonId;
2146 /// Number or Email that the phone log displays
2148 public const uint Address = (uint)Property.Id.PhonelogAddress;
2150 /// Call end time. The value means number of seconds since 1970-01-01 00:00:00 (UTC)
2152 public const uint LogTime = (uint)Property.Id.PhonelogLogTime;
2154 /// Log type, refer to the Type
2156 public const uint LogType = (uint)Property.Id.PhonelogLogType;
2158 /// You can set the related integer data (e.g. message_id, email_id or duration(seconds) of call)
2160 public const uint ExtraData1 = (uint)Property.Id.PhonelogExtraData1;
2162 /// You can set the related string data (e.g. short message, subject)
2164 public const uint ExtraData2 = (uint)Property.Id.PhonelogExtraData2;
2166 /// You can only use this property for search filter
2168 public const uint NormalizedAddress = (uint)Property.Id.PhonelogNormalizedAddress;
2170 /// You can only use this property for search filter
2172 public const uint CleanedAddress = (uint)Property.Id.PhonelogCleanedAddress;
2174 /// You can only use this property for search filter
2176 public const uint AddressFilter = (uint)Property.Id.PhonelogAddressFilter;
2178 /// You can set the related Sim slot number. SimSlotNo 0 means first Sim card, SimSlotNo 1 means second Sim.
2180 public const uint SimSlotNo = (uint)Property.Id.PhonelogSimSlotNo;
2183 /// Enumeration for Phone log type.
2185 /// <since_tizen> 4 </since_tizen>
2201 /// Incoming video call
2205 /// Outgoing video call
2209 /// Not confirmed missed call
2211 VoiceMissedUnseen = 5,
2213 /// Confirmed missed call
2215 VoiceMissedSeen = 6,
2217 /// Not confirmed missed video call
2219 VideoMissedUnseen = 7,
2221 /// Confirmed missed video call
2223 VideoMissedSeen = 8,
2229 /// Rejected video call
2237 /// Blocked video call
2267 EmailReceived = 201,
2277 /// Describes properties of a Contact updated information record.
2279 /// <remarks>Read only view</remarks>
2280 /// <since_tizen> 4 </since_tizen>
2281 public static class ContactUpdatedInfo
2284 /// Identifier of this contact updated info view
2286 public const string Uri = "tizen.contacts_view.contacts_updated_info";
2288 /// Updated contact ID
2290 public const uint ContactId = (uint)Property.Id.UpdateInfoId;
2292 /// AddressBook ID that the updated contact belongs to
2294 public const uint AddressBookId = (uint)Property.Id.UpdateInfoAddressBookId;
2296 /// Contact change type, refer to the ContactsViews.ChangeType
2298 public const uint Type = (uint)Property.Id.UpdateInfoType;
2302 public const uint Version = (uint)Property.Id.UpdateInfoVersion;
2304 /// Contact image is changed or not
2306 public const uint ImageChanged = (uint)Property.Id.UpdateInfoImageChanged;
2310 /// Describes properties of a My profile updated information record.
2312 /// <remarks>Read only view</remarks>
2313 /// <since_tizen> 4 </since_tizen>
2314 public static class MyProfileUpdatedInfo
2317 /// Identifier of this my profile updated info view
2319 public const string Uri = "tizen.contacts_view.my_profile_updated_info";
2321 /// Address book ID that the updated my profile belongs to
2323 public const uint AddressBookId = (uint)Property.Id.UpdateInfoAddressBookId;
2325 /// MyProfile change type, refer to the ContactsViews.ChangeType
2327 public const uint LastChangedType = (uint)Property.Id.UpdateInfoLastChangedType;
2331 public const uint Version = (uint)Property.Id.UpdateInfoVersion;
2335 /// Describes properties of a Group updated information record.
2337 /// <remarks>Read only view</remarks>
2338 /// <since_tizen> 4 </since_tizen>
2339 public static class GroupUpdatedInfo
2342 /// Identifier of this group updated info view
2344 public const string Uri = "tizen.contacts_view.groups_updated_info";
2346 /// Updated group ID
2348 public const uint GroupId = (uint)Property.Id.UpdateInfoId;
2350 /// Address book ID that the updated group belongs to
2352 public const uint AddressBookId = (uint)Property.Id.UpdateInfoAddressBookId;
2354 /// Group change type, refer to the ContactsViews.ChangeType
2356 public const uint Type = (uint)Property.Id.UpdateInfoType;
2360 public const uint Version = (uint)Property.Id.UpdateInfoVersion;
2364 /// Describes properties of a Group Member updated information record.
2366 /// <remarks>Read only view</remarks>
2367 /// <since_tizen> 4 </since_tizen>
2368 public static class GroupMemberUpdatedInfo
2371 /// Identifier of this group member updated info view
2373 public const string Uri = "tizen.contacts_view.groups_member_updated_info";
2375 /// Updated group ID
2377 public const uint GroupId = (uint)Property.Id.UpdateInfoId;
2379 /// Address book ID that the updated group belongs to
2381 public const uint AddressBookId = (uint)Property.Id.UpdateInfoAddressBookId;
2385 public const uint Version = (uint)Property.Id.UpdateInfoVersion;
2389 /// Describes properties of a Relation updated information record.
2391 /// <remarks>Read only view</remarks>
2392 /// <since_tizen> 4 </since_tizen>
2393 public static class GroupRelationUpdatedInfo
2396 /// Identifier of this group relation updated info view
2398 public const string Uri = "tizen.contacts_view.group_relations_updated_info";
2400 /// Group ID of group relation
2402 public const uint GroupId = (uint)Property.Id.GroupId;
2404 /// Contact ID of the updated group relation
2406 public const uint ContactId = (uint)Property.Id.ContactId;
2408 /// Address book ID of contact that the updated group relation
2410 public const uint AddressBookId = (uint)Property.Id.AddressBookId;
2412 /// Group relation change type, refer to the ContactsViews.ChangeType
2414 public const uint Type = (uint)Property.Id.UpdateInfoType;
2418 public const uint Version = (uint)Property.Id.UpdateInfoVersion;
2422 /// Describes properties of a PersonContact record.
2424 /// <remarks>Read only view</remarks>
2425 /// <since_tizen> 4 </since_tizen>
2426 public static class PersonContact
2429 /// Identifier of this person contact view
2431 public const string Uri = "tizen.contacts_view.person/simple_contact";
2433 /// DB record ID of the person
2435 public const uint PersonId = (uint)Property.Id.PersonId;
2437 /// Display name of the person
2439 public const uint DisplayName = (uint)Property.Id.PersonDisplayName;
2441 /// The first character of first string for grouping. This is normalized using ICU (projection)
2443 public const uint DisplayNameIndex = (uint)Property.Id.PersonDisplayNameIndex;
2445 /// Display contact ID that the person belongs to (projection)
2447 public const uint DisplayContactId = (uint)Property.Id.PersonDisplayContactId;
2449 /// Ringtone path of the person (projection)
2451 public const uint RingtonePath = (uint)Property.Id.PersonRingtone;
2453 /// Image thumbnail path of the person (projection)
2455 public const uint ThumbnailPath = (uint)Property.Id.PersonThumbnail;
2457 /// Vibration path of the person (projection)
2459 public const uint Vibration = (uint)Property.Id.PersonVibration;
2461 /// Message alert path of the person (projection)
2463 public const uint MessageAlert = (uint)Property.Id.PersonMessageAlert;
2465 /// Status of social account (projection)
2467 public const uint Status = (uint)Property.Id.PersonStatus;
2469 /// The person is favorite or not
2471 public const uint IsFavorite = (uint)Property.Id.PersonIsFavorite;
2473 /// Link count of contact records (projection)
2475 public const uint LinkCount = (uint)Property.Id.PersonLinkCount;
2477 /// Contact ID that the person belongs to
2479 public const uint ContactId = (uint)Property.Id.ContactId;
2481 /// AddressBook IDs that the person belongs to (projection)
2483 public const uint AddressBookIds = (uint)Property.Id.PersonAddressBookIds;
2485 /// The person has phone number or not
2487 public const uint HasPhoneNumber = (uint)Property.Id.PersonHasPhoneNumber;
2489 /// The person has email or not
2491 public const uint HasEmail = (uint)Property.Id.PersonHasEmail;
2493 /// AddressBook ID that the person belongs to
2495 public const uint AddressBookId = (uint)Property.Id.ContactAddressBookId;
2497 /// AddressBook mode, refer to the AddressBook.Mode
2499 public const uint AddressBookMode = (uint)Property.Id.AddressBookMode;
2501 /// AddressBook name that the person belongs to
2503 public const uint AddressBookName = (uint)Property.Id.AddressBookName;
2505 /// keyword matched data type, refer to the Contact.DataType
2507 public const uint SnippetType = (uint)Property.Id.PersonSnippetType;
2509 /// keyword matched data string
2511 public const uint SnippetString = (uint)Property.Id.PersonSnippetString;
2515 /// Describes properties of a PersonNumber record.
2517 /// <remarks>Read only view</remarks>
2518 /// <since_tizen> 4 </since_tizen>
2519 public static class PersonNumber
2522 /// Identifier of this person number view
2524 public const string Uri = "tizen.contacts_view.person/simple_contact/number";
2526 /// DB record ID of the person
2528 public const uint PersonId = (uint)Property.Id.PersonId;
2530 /// Display name of the person
2532 public const uint DisplayName = (uint)Property.Id.PersonDisplayName;
2534 /// The first character of first string for grouping. This is normalized using ICU (projection)
2536 public const uint DisplayNameIndex = (uint)Property.Id.PersonDisplayNameIndex;
2538 /// Display contact ID that the person belongs to (projection)
2540 public const uint DisplayContactId = (uint)Property.Id.PersonDisplayContactId;
2542 /// Ringtone path of the person (projection)
2544 public const uint RingtonePath = (uint)Property.Id.PersonRingtone;
2546 /// Image thumbnail path of the person (projection)
2548 public const uint ThumbnailPath = (uint)Property.Id.PersonThumbnail;
2550 /// Vibration path of the person (projection)
2552 public const uint Vibration = (uint)Property.Id.PersonVibration;
2554 /// Message alert path of the person (projection)
2556 public const uint MessageAlert = (uint)Property.Id.PersonMessageAlert;
2558 /// The person is favorite or not
2560 public const uint IsFavorite = (uint)Property.Id.PersonIsFavorite;
2562 /// The person has phone number or not
2564 public const uint HasPhoneNumber = (uint)Property.Id.PersonHasPhoneNumber;
2566 /// The person has email or not
2568 public const uint HasEmail = (uint)Property.Id.PersonHasEmail;
2570 /// Number ID that the person belongs to
2572 public const uint NumberId = (uint)Property.Id.NumberId;
2574 /// Number type, refer to the Number.Types (projection)
2576 public const uint Type = (uint)Property.Id.NumberType;
2578 /// Custom number type label, when the number type is Number.Types.Custom (projection)
2580 public const uint Label = (uint)Property.Id.NumberLabel;
2582 /// The number is default number or not
2584 public const uint IsPrimaryDefault = (uint)Property.Id.DataIsPrimaryDefault;
2588 public const uint Number = (uint)Property.Id.NumberNumber;
2590 /// 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.
2592 public const uint NumberFilter = (uint)Property.Id.NumberNumberFilter;
2594 /// You can only use this property for search filter
2596 public const uint NormalizedNumber = (uint)Property.Id.NumberNormalizedNumber;
2598 /// You can only use this property for search filter
2600 public const uint CleanedNumber = (uint)Property.Id.NumberCleanedNumber;
2602 /// keyword matched data type, refer to they Contact.DataType
2604 public const uint SnippetType = (uint)Property.Id.PersonSnippetType;
2606 /// keyword matched data string
2608 public const uint SnippetString = (uint)Property.Id.PersonSnippetString;
2612 /// Describes properties of a PersonEmail record.
2614 /// <remarks>Read only view</remarks>
2615 /// <since_tizen> 4 </since_tizen>
2616 public static class PersonEmail
2619 /// Identifier of this person email view
2621 public const string Uri = "tizen.contacts_view.person/simple_contact/email";
2623 /// DB record ID of the person
2625 public const uint PersonId = (uint)Property.Id.PersonId;
2627 /// Display name of the person
2629 public const uint DisplayName = (uint)Property.Id.PersonDisplayName;
2631 /// The first character of first string for grouping. This is normalized using ICU (projection)
2633 public const uint DisplayNameIndex = (uint)Property.Id.PersonDisplayNameIndex;
2635 /// Display contact ID that the person belongs to (projection)
2637 public const uint DisplayContactId = (uint)Property.Id.PersonDisplayContactId;
2639 /// Ringtone path of the person (projection)
2641 public const uint RingtonePath = (uint)Property.Id.PersonRingtone;
2643 /// Image thumbnail path of the person (projection)
2645 public const uint ThumbnailPath = (uint)Property.Id.PersonThumbnail;
2647 /// Vibration path of the person (projection)
2649 public const uint Vibration = (uint)Property.Id.PersonVibration;
2651 /// Message alert path of the person (projection)
2653 public const uint MessageAlert = (uint)Property.Id.PersonMessageAlert;
2655 /// The person is favorite or not
2657 public const uint IsFavorite = (uint)Property.Id.PersonIsFavorite;
2659 /// The person has phone number or not
2661 public const uint HasPhoneNumber = (uint)Property.Id.PersonHasPhoneNumber;
2663 /// The person has email or not
2665 public const uint HasEmail = (uint)Property.Id.PersonHasEmail;
2667 /// Email ID that the person belongs to
2669 public const uint EmailId = (uint)Property.Id.EmailId;
2671 /// Email type, refer to the Email.Types (projection)
2673 public const uint Type = (uint)Property.Id.EmailType;
2675 /// Custom mail type label, when the email type is Email.Types.Custom (projection)
2677 public const uint Label = (uint)Property.Id.EmailLabel;
2679 /// The email is default email or not
2681 public const uint IsPrimaryDefault = (uint)Property.Id.DataIsPrimaryDefault;
2685 public const uint Email = (uint)Property.Id.EmailEmail;
2687 /// keyword matched data type, refer to they Contact.DataType
2689 public const uint SnippetType = (uint)Property.Id.PersonSnippetType;
2691 /// keyword matched data string
2693 public const uint SnippetString = (uint)Property.Id.PersonSnippetString;
2697 /// Describes properties of a PersonGroupRelation record.
2699 /// <remarks>Read only view</remarks>
2700 /// <since_tizen> 4 </since_tizen>
2701 public static class PersonGroupRelation
2704 /// Identifier of this person group relation view
2706 public const string Uri = "tizen.contacts_view.person/simple_contact/group";
2708 /// DB record ID of the person
2710 public const uint PersonId = (uint)Property.Id.PersonId;
2712 /// Display name of the person
2714 public const uint DisplayName = (uint)Property.Id.PersonDisplayName;
2716 /// The first character of first string for grouping. This is normalized using ICU (projection)
2718 public const uint DisplayNameIndex = (uint)Property.Id.PersonDisplayNameIndex;
2720 /// Display contact ID that the person belongs to (projection)
2722 public const uint DisplayContactId = (uint)Property.Id.PersonDisplayContactId;
2724 /// Ringtone path of the person (projection)
2726 public const uint RingtonePath = (uint)Property.Id.PersonRingtone;
2728 /// Image thumbnail path of the person (projection)
2730 public const uint ThumbnailPath = (uint)Property.Id.PersonThumbnail;
2732 /// Vibration path of the person (projection)
2734 public const uint Vibration = (uint)Property.Id.PersonVibration;
2736 /// Message alert path of the person (projection)
2738 public const uint MessageAlert = (uint)Property.Id.PersonMessageAlert;
2740 /// Status of social account (projection)
2742 public const uint Status = (uint)Property.Id.PersonStatus;
2744 /// The person is favorite or not
2746 public const uint IsFavorite = (uint)Property.Id.PersonIsFavorite;
2748 /// The person has phone number or not
2750 public const uint HasPhoneNumber = (uint)Property.Id.PersonHasPhoneNumber;
2752 /// The person has email or not
2754 public const uint HasEmail = (uint)Property.Id.PersonHasEmail;
2756 /// Link count of contact records (projection)
2758 public const uint LinkCount = (uint)Property.Id.PersonLinkCount;
2760 /// AddressBook IDs that the person belongs to (projection)
2762 public const uint AddressBookIds = (uint)Property.Id.PersonAddressBookIds;
2764 /// AddressBook ID that the person belongs to
2766 public const uint AddressBookId = (uint)Property.Id.ContactAddressBookId;
2768 /// AddressBook name that the person belongs to
2770 public const uint AddressBookName = (uint)Property.Id.AddressBookName;
2772 /// AddressBook mode, refer to the AddressBook.Mode
2774 public const uint AddressBookMode = (uint)Property.Id.AddressBookMode;
2776 /// Group ID that the person belongs to
2778 public const uint GroupId = (uint)Property.Id.GroupRelationGroupId;
2780 /// Contact ID that the person belongs to (projection)
2782 public const uint ContactId = (uint)Property.Id.GroupRelationContactId;
2784 /// keyword matched data type, refer to they Contact.DataType
2786 public const uint SnippetType = (uint)Property.Id.PersonSnippetType;
2788 /// keyword matched data string
2790 public const uint SnippetString = (uint)Property.Id.PersonSnippetString;
2794 /// Describes properties of a PersonGroupAssigned record.
2796 /// <remarks>Read only view</remarks>
2797 /// <since_tizen> 4 </since_tizen>
2798 public static class PersonGroupAssigned
2801 /// Identifier of this person group assigned view
2803 public const string Uri = "tizen.contacts_view.person/simple_contact/group_assigned";
2805 /// DB record ID of the person
2807 public const uint PersonId = (uint)Property.Id.PersonId;
2809 /// Display name of the person
2811 public const uint DisplayName = (uint)Property.Id.PersonDisplayName;
2813 /// The first character of first string for grouping. This is normalized using ICU (projection)
2815 public const uint DisplayNameIndex = (uint)Property.Id.PersonDisplayNameIndex;
2817 /// Display contact ID that the person belongs to (projection)
2819 public const uint DisplayContactId = (uint)Property.Id.PersonDisplayContactId;
2821 /// Ringtone path of the person (projection)
2823 public const uint RingtonePath = (uint)Property.Id.PersonRingtone;
2825 /// Image thumbnail path of the person (projection)
2827 public const uint ThumbnailPath = (uint)Property.Id.PersonThumbnail;
2829 /// Vibration path of the person (projection)
2831 public const uint Vibration = (uint)Property.Id.PersonVibration;
2833 /// Message alert path of the person (projection)
2835 public const uint MessageAlert = (uint)Property.Id.PersonMessageAlert;
2837 /// Status of social account (projection)
2839 public const uint Status = (uint)Property.Id.PersonStatus;
2841 /// The person is favorite or not
2843 public const uint IsFavorite = (uint)Property.Id.PersonIsFavorite;
2845 /// The person has phone number or not
2847 public const uint HasPhoneNumber = (uint)Property.Id.PersonHasPhoneNumber;
2849 /// The person has email or not
2851 public const uint HasEmail = (uint)Property.Id.PersonHasEmail;
2853 /// Link count of contact records (projection)
2855 public const uint LinkCount = (uint)Property.Id.PersonLinkCount;
2857 /// AddressBook IDs that the linked person belongs to (projection)
2859 public const uint AddressBookIds = (uint)Property.Id.PersonAddressBookIds;
2861 /// AddressBook ID that the person belongs to
2863 public const uint AddressBookId = (uint)Property.Id.ContactAddressBookId;
2865 /// AddressBook mode, refer to the AddressBook.Mode
2867 public const uint AddressBookMode = (uint)Property.Id.AddressBookMode;
2869 /// Group ID that the person belongs to
2871 public const uint GroupId = (uint)Property.Id.GroupRelationGroupId;
2873 /// Contact ID that the person belongs to (projection)
2875 public const uint ContactId = (uint)Property.Id.GroupRelationContactId;
2877 /// keyword matched data type, refer to they Contact.DataType
2879 public const uint SnippetType = (uint)Property.Id.PersonSnippetType;
2881 /// keyword matched data string
2883 public const uint SnippetString = (uint)Property.Id.PersonSnippetString;
2887 /// Describes properties of a PersonGroupNotAssigned record.
2889 /// <remarks>Read only view</remarks>
2890 /// <since_tizen> 4 </since_tizen>
2891 public static class PersonGroupNotAssigned
2894 /// Identifier of this person group not assigned view
2896 public const string Uri = "tizen.contacts_view.person/simple_contact/group_not_assigned";
2898 /// DB record ID of the person
2900 public const uint PersonId = (uint)Property.Id.PersonId;
2902 /// Display name of the person
2904 public const uint DisplayName = (uint)Property.Id.PersonDisplayName;
2906 /// The first character of first string for grouping. This is normalized using ICU (projection)
2908 public const uint DisplayNameIndex = (uint)Property.Id.PersonDisplayNameIndex;
2910 /// Display contact ID that the person belongs to (projection)
2912 public const uint DisplayContactId = (uint)Property.Id.PersonDisplayContactId;
2914 /// Ringtone path of the person (projection)
2916 public const uint RingtonePath = (uint)Property.Id.PersonRingtone;
2918 /// Image thumbnail path of the person (projection)
2920 public const uint ThumbnailPath = (uint)Property.Id.PersonThumbnail;
2922 /// Vibration path of the person (projection)
2924 public const uint Vibration = (uint)Property.Id.PersonVibration;
2926 /// Message alert path of the person (projection)
2928 public const uint MessageAlert = (uint)Property.Id.PersonMessageAlert;
2930 /// Status of social account (projection)
2932 public const uint Status = (uint)Property.Id.PersonStatus;
2934 /// The person is favorite or not
2936 public const uint IsFavorite = (uint)Property.Id.PersonIsFavorite;
2938 /// The person has phone number or not
2940 public const uint HasPhoneNumber = (uint)Property.Id.PersonHasPhoneNumber;
2942 /// The person has email or not
2944 public const uint HasEmail = (uint)Property.Id.PersonHasEmail;
2946 /// Link count of contact records (projection)
2948 public const uint LinkCount = (uint)Property.Id.PersonLinkCount;
2950 /// AddressBook IDs that the linked person belongs to (projection)
2952 public const uint AddressBookIds = (uint)Property.Id.PersonAddressBookIds;
2954 /// AddressBook ID that the person belongs to
2956 public const uint AddressBookId = (uint)Property.Id.ContactAddressBookId;
2958 /// AddressBook mode, refer to the AddressBook.Mode
2960 public const uint AddressBookMode = (uint)Property.Id.AddressBookMode;
2962 /// Contact ID that the person belongs to (projection)
2964 public const uint ContactId = (uint)Property.Id.ContactId;
2966 /// keyword matched data type, refer to they Contact.DataType
2968 public const uint SnippetType = (uint)Property.Id.PersonSnippetType;
2970 /// keyword matched data string
2972 public const uint SnippetString = (uint)Property.Id.PersonSnippetString;
2976 /// Describes properties of a PersonPhoneLog record.
2978 /// <remarks>Read only view</remarks>
2979 /// <since_tizen> 4 </since_tizen>
2980 public static class PersonPhoneLog
2983 /// Identifier of this phone log view
2985 public const string Uri = "tizen.contacts_view.person/simple_contact/phonelog";
2987 /// DB record ID of the person
2989 public const uint PersonId = (uint)Property.Id.PersonId;
2991 /// Display name of the person
2993 public const uint DisplayName = (uint)Property.Id.PersonDisplayName;
2995 /// Image thumbnail path of the person (projection)
2997 public const uint ThumbnailPath = (uint)Property.Id.PersonThumbnail;
2999 /// DB record ID of phone log
3001 public const uint LogId = (uint)Property.Id.PhonelogId;
3003 /// Number or Email that the phone log displays
3005 public const uint Address = (uint)Property.Id.PhonelogAddress;
3007 /// Number or Email type (projection)
3009 public const uint AddressType = (uint)Property.Id.DataData1;
3011 /// Call end time. The value means number of seconds since 1970-01-01 00:00:00 (UTC)
3013 public const uint LogTime = (uint)Property.Id.PhonelogLogTime;
3015 /// Log type, refer to the PhoneLog.Types
3017 public const uint LogType = (uint)Property.Id.PhonelogLogType;
3019 /// You can set the related integer data (e.g. message_id, email_id or duration(seconds) of call) (projection)
3021 public const uint ExtraData1 = (uint)Property.Id.PhonelogExtraData1;
3023 /// You can set the related string data (e.g. short message, subject) (projection)
3025 public const uint ExtraData2 = (uint)Property.Id.PhonelogExtraData2;
3027 /// You can only use this property for search filter
3029 public const uint NormalizedAddress = (uint)Property.Id.PhonelogNormalizedAddress;
3031 /// You can only use this property for search filter
3033 public const uint CleanedAddress = (uint)Property.Id.PhonelogCleanedAddress;
3035 /// You can only use this property for search filter
3037 public const uint AddressFilter = (uint)Property.Id.PhonelogAddressFilter;
3039 /// It is related to the Sim slot number. SimSlotNo 0 means first Sim card, SimSlotNo 1 means second Sim.
3041 public const uint SimSlotNo = (uint)Property.Id.PhonelogSimSlotNo;
3045 /// Describes properties of a Person Usage record.
3047 /// <remarks>Read only view</remarks>
3048 /// <since_tizen> 4 </since_tizen>
3049 public static class PersonUsage
3052 /// Identifier of this person usage view
3054 public const string Uri = "tizen.contacts_view.person/usag";
3056 /// DB record ID of the person
3058 public const uint PersonId = (uint)Property.Id.PersonId;
3060 /// Display name of the person
3062 public const uint DisplayName = (uint)Property.Id.PersonDisplayName;
3064 /// The first character of first string for grouping. This is normalized using ICU (projection)
3066 public const uint DisplayNameIndex = (uint)Property.Id.PersonDisplayNameIndex;
3068 /// Display contact ID that the person belongs to (projection)
3070 public const uint DisplayContactId = (uint)Property.Id.PersonDisplayContactId;
3072 /// Ringtone path of the person (projection)
3074 public const uint RingtonePath = (uint)Property.Id.PersonRingtone;
3076 /// Image thumbnail path of the person (projection)
3078 public const uint ThumbnailPath = (uint)Property.Id.PersonThumbnail;
3080 /// Vibration path of the person (projection)
3082 public const uint Vibration = (uint)Property.Id.PersonVibration;
3084 /// Message alert path of the person (projection)
3086 public const uint MessageAlert = (uint)Property.Id.PersonMessageAlert;
3088 /// The person is favorite or not
3090 public const uint IsFavorite = (uint)Property.Id.PersonIsFavorite;
3092 /// The person has phone number or not
3094 public const uint HasPhoneNumber = (uint)Property.Id.PersonHasPhoneNumber;
3096 /// The person has email or not
3098 public const uint HasEmail = (uint)Property.Id.PersonHasEmail;
3100 /// Usage type, refer to the Type
3102 public const uint UsageType = (uint)Property.Id.PersonUsageType;
3104 /// Usage number of person
3106 public const uint TimesUsed = (uint)Property.Id.PersonTimesUsed;
3109 /// Enumeration for Person usage type.
3111 /// <since_tizen> 4 </since_tizen>
3123 /// Outgoing message
3135 /// Incoming message
3162 /// Describes properties of a ContactNumber record.
3164 /// <remarks>Read only view</remarks>
3165 /// <since_tizen> 4 </since_tizen>
3166 public static class ContactNumber
3169 /// Identifier of this contacts number view
3171 public const string Uri = "tizen.contacts_view.simple_contact/number";
3173 /// Contact ID that the number belongs to
3175 public const uint ContactId = (uint)Property.Id.ContactId;
3177 /// Display name of contact that the number belongs to
3179 public const uint DisplayName = (uint)Property.Id.ContactDisplayName;
3181 /// The source type of display name, refer to the Contact.DisplayNameSourceType (projection)
3183 public const uint DisplaySourceType = (uint)Property.Id.ContactDisplaySourceDataId;
3185 /// AddressBook ID that the number belongs to
3187 public const uint AddressBookId = (uint)Property.Id.ContactAddressBookId;
3189 /// Person ID that the number belongs to
3191 public const uint PersonId = (uint)Property.Id.ContactPersonId;
3193 /// Ringtone path that the number belongs to (projection)
3195 public const uint RingtonePath = (uint)Property.Id.ContactRingtone;
3197 /// Image thumbnail path that the number belongs to (projection)
3199 public const uint ThumbnailPath = (uint)Property.Id.ContactThumbnail;
3201 /// DB record ID of the number
3203 public const uint NumberId = (uint)Property.Id.NumberId;
3205 /// Number type, refer to the Number.Types (projection)
3207 public const uint Type = (uint)Property.Id.NumberType;
3209 /// Custom number type label, when the number type is Number.Types.Custom (projection)
3211 public const uint Label = (uint)Property.Id.NumberLabel;
3213 /// The number is default number or not
3215 public const uint IsDefault = (uint)Property.Id.NumberIsDefault;
3219 public const uint Number = (uint)Property.Id.NumberNumber;
3221 /// 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
3223 public const uint NumberFilter = (uint)Property.Id.NumberNumberFilter;
3225 /// You can only use this property for search filter
3227 public const uint NormalizedNumber = (uint)Property.Id.NumberNormalizedNumber;
3229 /// You can only use this property for search filter
3231 public const uint CleanedNumber = (uint)Property.Id.NumberCleanedNumber;
3235 /// Describes properties of a ContactEmail record.
3237 /// <remarks>Read only view</remarks>
3238 /// <since_tizen> 4 </since_tizen>
3239 public static class ContactEmail
3242 /// Identifier of this contacts email view
3244 public const string Uri = "tizen.contacts_view.simple_contact/email";
3246 /// Contact ID that the number belongs to
3248 public const uint ContactId = (uint)Property.Id.ContactId;
3250 /// Display name of contact that the number belongs to
3252 public const uint DisplayName = (uint)Property.Id.ContactDisplayName;
3254 /// The source type of display name, refer to the Contact.DisplayNameSourceType (projection)
3256 public const uint DisplaySourceType = (uint)Property.Id.ContactDisplaySourceDataId;
3258 /// AddressBook ID that the number belongs to
3260 public const uint AddressBookId = (uint)Property.Id.ContactAddressBookId;
3262 /// Person ID that the number belongs to
3264 public const uint PersonId = (uint)Property.Id.ContactPersonId;
3266 /// Ringtone path that the number belongs to (projection)
3268 public const uint RingtonePath = (uint)Property.Id.ContactRingtone;
3270 /// Image thumbnail path that the number belongs to (projection)
3272 public const uint ThumbnailPath = (uint)Property.Id.ContactThumbnail;
3274 /// DB record ID of the email
3276 public const uint EmailId = (uint)Property.Id.EmailId;
3278 /// Email type, refer to the Email.Types (projection)
3280 public const uint Type = (uint)Property.Id.EmailType;
3282 /// Custom mail type label, when the email type is Email.Types.Custom (projection)
3284 public const uint Label = (uint)Property.Id.EmailLabel;
3286 /// Email is default email or not
3288 public const uint IsDefault = (uint)Property.Id.EmailIsDefault;
3292 public const uint Email = (uint)Property.Id.EmailEmail;
3296 /// Describes properties of a ContactGroupRelation record.
3298 /// <remarks>Read only view</remarks>
3299 /// <since_tizen> 4 </since_tizen>
3300 public static class ContactGroupRelation
3303 /// Identifier of this contact group relation view
3305 public const string Uri = "tizen.contacts_view.simple_contact/group";
3307 /// Contact ID that the number belongs to
3309 public const uint ContactId = (uint)Property.Id.ContactId;
3311 /// Display name of contact that the number belongs to
3313 public const uint DisplayName = (uint)Property.Id.ContactDisplayName;
3315 /// The source type of display name, refer to the Contact.DisplayNameSourceType (projection)
3317 public const uint DisplaySourceType = (uint)Property.Id.ContactDisplaySourceDataId;
3319 /// AddressBook ID that the number belongs to
3321 public const uint AddressBookId = (uint)Property.Id.ContactAddressBookId;
3323 /// Person ID that the number belongs to
3325 public const uint PersonId = (uint)Property.Id.ContactPersonId;
3327 /// Ringtone path that the number belongs to (projection)
3329 public const uint RingtonePath = (uint)Property.Id.ContactRingtone;
3331 /// Image thumbnail path that the number belongs to (projection)
3333 public const uint ThumbnailPath = (uint)Property.Id.ContactThumbnail;
3335 /// DB record ID of the group relation
3337 public const uint GroupId = (uint)Property.Id.GroupRelationGroupId;
3339 /// Group name (projection)
3341 public const uint GroupName = (uint)Property.Id.GroupRelationGroupName;
3345 /// Describes properties of a Phone Log Statistics record.
3347 /// <remarks>Read only view</remarks>
3348 /// <since_tizen> 4 </since_tizen>
3349 public static class PhoneLogStatistics
3352 /// Identifier of this log statistics view
3354 public const string Uri = "tizen.contacts_view.phonelog_stat";
3356 /// Log count (projection)
3358 public const uint LogCount = (uint)Property.Id.PhonelogStatLogCount;
3360 /// Log type, see the contacts_phone_log_type_e
3362 public const uint LogType = (uint)Property.Id.PhonelogStatLogType;
3364 /// 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()
3366 public const uint SimSlotNo = (uint)Property.Id.PhonelogStatSimSlotNo;