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 /// <since_tizen> 4 </since_tizen>
33 namespace ContactsViews
35 internal static class Property
37 private const uint AddressBook = 0x00100000;
38 private const uint Group = 0x00200000;
39 private const uint Person = 0x00300000;
40 private const uint Data = 0x00600000;
41 private const uint SpeedDial = 0x00700000;
42 private const uint Phonelog = 0x00800000;
43 private const uint UpdateInfo = 0x00900000;
44 private const uint PhonelogStat = 0x00B00000;
46 private const uint Contact = 0x01000000;
47 private const uint Name = 0x01100000;
48 private const uint Number = 0x01200000;
49 private const uint Email = 0x01300000;
50 private const uint Address = 0x01400000;
51 private const uint URL = 0x01500000;
52 private const uint Event = 0x01600000;
53 private const uint GroupRelation = 0x01700000;
54 private const uint Relationship = 0x01800000;
55 private const uint Company = 0x01900000;
56 private const uint Nickname = 0x01A00000;
57 private const uint Messenger = 0x01B00000;
58 private const uint Note = 0x01C00000;
59 private const uint Profile = 0x01D00000;
60 private const uint Image = 0x01E00000;
61 private const uint Extension = 0x01F00000;
62 private const uint MyProfile = 0x02000000;
63 private const uint ActivityPhoto = 0x02100000;
64 private const uint Sip = 0x02200000;
66 /* data_type mask 0x000FF000 */
67 private const uint DataTypeBool = 0x00010000;
68 private const uint DataTypeInt = 0x00020000;
69 private const uint DataTypeLong = 0x00030000;
70 private const uint DataTypeString = 0x00040000;
71 private const uint DataTypeDouble = 0x00050000;
72 private const uint DataTypeRecord = 0x00060000;
74 private const uint ReadOnly = 0x00001000;
76 internal enum Id : uint
81 AddressBookId = (AddressBook | DataTypeInt | ReadOnly),
82 AddressBookAccountId = (AddressBook | DataTypeInt) + 1,
83 AddressBookName = (AddressBook | DataTypeString) + 2,
84 AddressBookMode = (AddressBook | DataTypeInt) + 3,
87 GroupId = (Group | DataTypeInt | ReadOnly),
88 GroupAddressBookId = (Group | DataTypeInt) + 1,
89 GroupName = (Group | DataTypeString) + 2,
90 GroupRingtone = (Group | DataTypeString) + 3,
91 GroupImage = (Group | DataTypeString) + 4,
92 GroupVibration = (Group | DataTypeString) + 5,
93 GroupExtraData = (Group | DataTypeString) + 6,
94 GroupIsReadOnly = (Group | DataTypeBool) + 7,
95 GroupMessageAlert = (Group | DataTypeString) + 8,
98 PersonId = (Person | DataTypeInt | ReadOnly),
99 PersonDisplayName = (Person | DataTypeString | ReadOnly) + 1,
100 PersonDisplayContactId = (Person | DataTypeInt) + 2,
101 PersonRingtone = (Person | DataTypeString) + 3,
102 PersonThumbnail = (Person | DataTypeString | ReadOnly) + 4,
103 PersonVibration = (Person | DataTypeString) + 5,
104 PersonIsFavorite = (Person | DataTypeBool) + 6,
105 PersonFavoritePriority = (Person | DataTypeDouble | ReadOnly) + 7,
106 PersonLinkCount = (Person | DataTypeInt | ReadOnly) + 8,
107 PersonAddressBookIds = (Person | DataTypeString | ReadOnly) + 9,
108 PersonHasPhoneNumber = (Person | DataTypeBool | ReadOnly) + 10,
109 PersonHasEmail = (Person | DataTypeBool | ReadOnly) + 11,
110 PersonDisplayNameIndex = (Person | DataTypeString | ReadOnly) + 12,
111 PersonStatus = (Person | DataTypeString | ReadOnly) + 13,
112 PersonMessageAlert = (Person | DataTypeString) + 14,
113 PersonSnippetType = (Person | DataTypeInt | ReadOnly) + 15,
114 PersonSnippetString = (Person | DataTypeString | ReadOnly) + 16,
117 PersonUsageType = (Person | DataTypeInt) + 100,
118 PersonTimesUsed = (Person | DataTypeInt) + 101,
120 /* simple contact : read only */
122 ContactId = (Contact | DataTypeInt | ReadOnly),
123 ContactDisplayName = (Contact | DataTypeString | ReadOnly) + 1,
124 ContactDisplaySourceDataId = (Contact | DataTypeInt | ReadOnly) + 2,
125 ContactAddressBookId = (Contact | DataTypeInt) + 3,
126 ContactRingtone = (Contact | DataTypeString) + 4,
127 ContactImage = (Contact | DataTypeRecord) + 5,
128 ContactThumbnail = (Contact | DataTypeString | ReadOnly) + 6,
129 ContactIsFavorite = (Contact | DataTypeBool) + 7,
130 ContactHasPhoneNumber = (Contact | DataTypeBool | ReadOnly) + 8,
131 ContactHasEmail = (Contact | DataTypeBool | ReadOnly) + 9,
132 ContactPersonId = (Contact | DataTypeInt) + 10,
133 ContactUId = (Contact | DataTypeString) + 11,
134 ContactVibration = (Contact | DataTypeString) + 12,
135 ContactChangedTime = (Contact | DataTypeInt | ReadOnly) + 13,
136 ContactName = (Contact | DataTypeRecord) + 14,
137 ContactCompany = (Contact | DataTypeRecord) + 15,
138 ContactNote = (Contact | DataTypeRecord) + 16,
139 ContactNumber = (Contact | DataTypeRecord) + 17,
140 ContactEmail = (Contact | DataTypeRecord) + 18,
141 ContactEvent = (Contact | DataTypeRecord) + 19,
142 ContactMessenger = (Contact | DataTypeRecord) + 20,
143 ContactAddress = (Contact | DataTypeRecord) + 21,
144 ContactURL = (Contact | DataTypeRecord) + 22,
145 ContactNickname = (Contact | DataTypeRecord) + 23,
146 ContactProfile = (Contact | DataTypeRecord) + 24,
147 ContactRelationship = (Contact | DataTypeRecord) + 25,
148 ContactGroupRelation = (Contact | DataTypeRecord) + 26,
149 ContactExtension = (Contact | DataTypeRecord) + 27,
150 ContactLinkMode = (Contact | DataTypeInt) + 28,
151 ContactMessageAlert = (Contact | DataTypeString) + 29,
152 ContactSip = (Contact | DataTypeRecord) + 30,
155 MyProfileId = (MyProfile | DataTypeInt | ReadOnly),
156 MyProfileDisplayName = (MyProfile | DataTypeString | ReadOnly) + 1,
157 MyProfileAddressBookId = (MyProfile | DataTypeInt) + 2,
158 MyProfileImage = (MyProfile | DataTypeRecord) + 3,
159 MyProfileThumbnail = (MyProfile | DataTypeString | ReadOnly) + 4,
160 MyProfileUId = (MyProfile | DataTypeString) + 5,
161 MyProfileChangedTime = (MyProfile | DataTypeInt) + 6,
162 MyProfileName = (MyProfile | DataTypeRecord) + 7,
163 MyProfileCompany = (MyProfile | DataTypeRecord) + 8,
164 MyProfileNote = (MyProfile | DataTypeRecord) + 9,
165 MyProfileNumber = (MyProfile | DataTypeRecord) + 10,
166 MyProfileEmail = (MyProfile | DataTypeRecord) + 11,
167 MyProfileEvent = (MyProfile | DataTypeRecord) + 12,
168 MyProfileMessenger = (MyProfile | DataTypeRecord) + 13,
169 MyProfileAddress = (MyProfile | DataTypeRecord) + 14,
170 MyProfileURL = (MyProfile | DataTypeRecord) + 15,
171 MyProfileNickname = (MyProfile | DataTypeRecord) + 16,
172 MyProfileProfile = (MyProfile | DataTypeRecord) + 17,
173 MyProfileRelationship = (MyProfile | DataTypeRecord) + 18,
174 MyProfileExtension = (MyProfile | DataTypeRecord) + 19,
175 MyProfileSip = (MyProfile | DataTypeRecord) + 20,
178 DataId = (Data | DataTypeInt),
179 DataContactId = (Data | DataTypeInt) + 1,
180 DataType = (Data | DataTypeInt) + 2,
181 DataIsPrimaryDefault = (Data | DataTypeBool) + 3,
182 DataIsDefault = (Data | DataTypeBool) + 4,
183 DataData1 = (Data | DataTypeInt) + 5,
184 DataData2 = (Data | DataTypeString) + 6,
185 DataData3 = (Data | DataTypeString) + 7,
186 DataData4 = (Data | DataTypeString) + 8,
187 DataData5 = (Data | DataTypeString) + 9,
188 DataData6 = (Data | DataTypeString) + 10,
189 DataData7 = (Data | DataTypeString) + 11,
190 DataData8 = (Data | DataTypeString) + 12,
191 DataData9 = (Data | DataTypeString) + 13,
192 DataData10 = (Data | DataTypeString) + 14,
195 NameId = (Name | DataTypeInt | ReadOnly),
196 NameContactId = (Name | DataTypeInt) + 1,
197 NameFirst = (Name | DataTypeString) + 2,
198 NameLast = (Name | DataTypeString) + 3,
199 NameAddition = (Name | DataTypeString) + 4,
200 NameSuffix = (Name | DataTypeString) + 5,
201 NamePrefix = (Name | DataTypeString) + 6,
202 NamePhoneticFirst = (Name | DataTypeString) + 7,
203 NamePhoneticMiddle = (Name | DataTypeString) + 8,
204 NamePhoneticLast = (Name | DataTypeString) + 9,
207 NumberId = (Number | DataTypeInt | ReadOnly),
208 NumberContactId = (Number | DataTypeInt) + 1,
209 NumberType = (Number | DataTypeInt) + 2,
210 NumberLabel = (Number | DataTypeString) + 3,
211 NumberIsDefault = (Number | DataTypeBool) + 4,
212 NumberNumber = (Number | DataTypeString) + 5,
213 NumberNumberFilter = (Number | DataTypeString) + 6,
214 NumberNormalizedNumber = (Number | DataTypeString | ReadOnly) + 7,
215 NumberCleanedNumber = (Number | DataTypeString | ReadOnly) + 8,
218 EmailId = (Email | DataTypeInt | ReadOnly),
219 EmailContactId = (Email | DataTypeInt) + 1,
220 EmailType = (Email | DataTypeInt) + 2,
221 EmailLabel = (Email | DataTypeString) + 3,
222 EmailIsDefault = (Email | DataTypeBool) + 4,
223 EmailEmail = (Email | DataTypeString) + 5,
225 /* contact_address */
226 AddressId = (Address | DataTypeInt | ReadOnly),
227 AddressContactId = (Address | DataTypeInt) + 1,
228 AddressType = (Address | DataTypeInt) + 2,
229 AddressLabel = (Address | DataTypeString) + 3,
230 AddressPostbox = (Address | DataTypeString) + 4,
231 AddressPostalCode = (Address | DataTypeString) + 5,
232 AddressRegion = (Address | DataTypeString) + 6,
233 AddressLocality = (Address | DataTypeString) + 7,
234 AddressStreet = (Address | DataTypeString) + 8,
235 AddressCountry = (Address | DataTypeString) + 9,
236 AddressExtended = (Address | DataTypeString) + 10,
237 AddressIsDefault = (Address | DataTypeBool) + 11,
240 URLId = (URL | DataTypeInt | ReadOnly),
241 URLContactId = (URL | DataTypeInt) + 1,
242 URLType = (URL | DataTypeInt) + 2,
243 URLLabel = (URL | DataTypeString) + 3,
244 URLData = (URL | DataTypeString) + 4,
247 EventId = (Event | DataTypeInt | ReadOnly),
248 EventContactId = (Event | DataTypeInt) + 1,
249 EventType = (Event | DataTypeInt) + 2,
250 EventLabel = (Event | DataTypeString) + 3,
251 EventDate = (Event | DataTypeInt) + 4,
252 EventCalendarType = (Event | DataTypeInt) + 5,
253 EventIsLeapMonth = (Event | DataTypeBool) + 6,
255 /* contact_grouprelation */
256 GroupRelationId = (GroupRelation | DataTypeInt | ReadOnly),
257 GroupRelationGroupId = (GroupRelation | DataTypeInt) + 1,
258 GroupRelationContactId = (GroupRelation | DataTypeInt) + 2,
259 GroupRelationGroupName = (GroupRelation | DataTypeString) + 3,
261 /* contact_relationship */
262 RelationshipId = (Relationship | DataTypeInt | ReadOnly),
263 RelationshipContactId = (Relationship | DataTypeInt) + 1,
264 RelationshipType = (Relationship | DataTypeInt) + 2,
265 RelationshipLabel = (Relationship | DataTypeString) + 3,
266 RelationshipName = (Relationship | DataTypeString) + 4,
269 ImageId = (Image | DataTypeInt | ReadOnly),
270 ImageContactId = (Image | DataTypeInt) + 1,
271 ImageType = (Image | DataTypeInt) + 2,
272 ImageLabel = (Image | DataTypeString) + 3,
273 ImagePath = (Image | DataTypeString) + 4,
274 ImageIsDefault = (Image | DataTypeBool) + 5,
276 /* contact_company */
277 CompanyId = (Company | DataTypeInt | ReadOnly),
278 CompanyContactId = (Company | DataTypeInt) + 1,
279 CompanyType = (Company | DataTypeInt) + 2,
280 CompanyLabel = (Company | DataTypeString) + 3,
281 CompanyName = (Company | DataTypeString) + 4,
282 CompanyDepartment = (Company | DataTypeString) + 5,
283 CompanyJobTitle = (Company | DataTypeString) + 6,
284 CompanyRole = (Company | DataTypeString) + 7,
285 CompanyAssistantName = (Company | DataTypeString) + 8,
286 CompanyLogo = (Company | DataTypeString) + 9,
287 CompanyLocation = (Company | DataTypeString) + 10,
288 CompanyDescription = (Company | DataTypeString) + 11,
289 CompanyPhoneticName = (Company | DataTypeString) + 12,
291 /* contact_nickname */
292 NicknameId = (Nickname | DataTypeInt | ReadOnly),
293 NicknameContactId = (Nickname | DataTypeInt) + 1,
294 NicknameName = (Nickname | DataTypeString) + 2,
296 /* contact_messenger */
297 MessengerId = (Messenger | DataTypeInt | ReadOnly),
298 MessengerContactId = (Messenger | DataTypeInt) + 1,
299 MessengerType = (Messenger | DataTypeInt) + 2,
300 MessengerLabel = (Messenger | DataTypeString) + 3,
301 MessengerIMId = (Messenger | DataTypeString) + 4,
304 NoteId = (Note | DataTypeInt | ReadOnly),
305 NoteContactId = (Note | DataTypeInt) + 1,
306 NoteNote = (Note | DataTypeString) + 2,
309 SipId = (Sip | DataTypeInt | ReadOnly),
310 SipContactId = (Sip | DataTypeInt) + 1,
311 SipAddress = (Sip | DataTypeString) + 2,
312 SipType = (Sip | DataTypeInt) + 3,
313 SipLabel = (Sip | DataTypeString) + 4,
315 /* contact_profile */
316 ProfileId = (Profile | DataTypeInt | ReadOnly),
317 ProfileContactId = (Profile | DataTypeInt) + 1,
318 ProfileUId = (Profile | DataTypeString) + 2,
319 ProfileText = (Profile | DataTypeString) + 3,
320 ProfileOrder = (Profile | DataTypeInt) + 4,
321 ProfileServiceOperation = (Profile | DataTypeString) + 5,
322 ProfileMIME = (Profile | DataTypeString) + 6,
323 ProfileAppId = (Profile | DataTypeString) + 7,
324 ProfileUri = (Profile | DataTypeString) + 8,
325 ProfileCategory = (Profile | DataTypeString) + 9,
326 ProfileExtraData = (Profile | DataTypeString) + 10,
328 ExtensionId = (Extension | DataTypeInt | ReadOnly),
329 ExtensionContactId = (Extension | DataTypeInt) + 1,
330 ExtensionData1 = (Extension | DataTypeInt) + 2,
331 ExtensionData2 = (Extension | DataTypeString) + 3,
332 ExtensionData3 = (Extension | DataTypeString) + 4,
333 ExtensionData4 = (Extension | DataTypeString) + 5,
334 ExtensionData5 = (Extension | DataTypeString) + 6,
335 ExtensionData6 = (Extension | DataTypeString) + 7,
336 ExtensionData7 = (Extension | DataTypeString) + 8,
337 ExtensionData8 = (Extension | DataTypeString) + 9,
338 ExtensionData9 = (Extension | DataTypeString) + 10,
339 ExtensionData10 = (Extension | DataTypeString) + 11,
340 ExtensionData11 = (Extension | DataTypeString) + 12,
341 ExtensionData12 = (Extension | DataTypeString) + 13,
344 SpeedDialDialNumber = (SpeedDial | DataTypeInt),
345 SpeedDialNumberId = (SpeedDial | DataTypeInt) + 1,
346 SpeedDialNumber = (SpeedDial | DataTypeString | ReadOnly) + 2,
347 SpeedDialNumberLabel = (SpeedDial | DataTypeString | ReadOnly) + 3,
348 SpeedDialNumberType = (SpeedDial | DataTypeInt | ReadOnly) + 4,
349 SpeedDialPersonId = (SpeedDial | DataTypeInt | ReadOnly) + 5,
350 SpeedDialDisplayName = (SpeedDial | DataTypeString | ReadOnly) + 6,
351 SpeedDialThumbnail = (SpeedDial | DataTypeString | ReadOnly) + 7,
352 SpeedDialNormalizedNumber = (SpeedDial | DataTypeString | ReadOnly) + 8,
353 SpeedDialCleanedNumber = (SpeedDial | DataTypeString | ReadOnly) + 9,
354 SpeedDialNumberFilter = (SpeedDial | DataTypeString | ReadOnly) + 10,
357 PhonelogId = (Phonelog | DataTypeInt | ReadOnly),
358 PhonelogPersonId = (Phonelog | DataTypeInt) + 1,
359 PhonelogAddress = (Phonelog | DataTypeString) + 2,
360 PhonelogLogTime = (Phonelog | DataTypeInt) + 3,
361 PhonelogLogType = (Phonelog | DataTypeInt) + 4,
362 PhonelogExtraData1 = (Phonelog | DataTypeInt) + 5,
363 PhonelogExtraData2 = (Phonelog | DataTypeString) + 6,
364 PhonelogNormalizedAddress = (Phonelog | DataTypeString | ReadOnly) + 7,
365 PhonelogCleanedAddress = (Phonelog | DataTypeString | ReadOnly) + 8,
366 PhonelogAddressFilter = (Phonelog | DataTypeString | ReadOnly) + 9,
367 PhonelogSimSlotNo = (Phonelog | DataTypeInt) + 10,
370 PhonelogStatLogCount = (PhonelogStat | DataTypeInt | ReadOnly),
371 PhonelogStatLogType = (PhonelogStat | DataTypeInt | ReadOnly) + 1,
372 PhonelogStatSimSlotNo = (PhonelogStat | DataTypeInt | ReadOnly) + 2,
374 /* updated_info : read only */
375 UpdateInfoId = (UpdateInfo | DataTypeInt),
376 UpdateInfoAddressBookId = (UpdateInfo | DataTypeInt) + 1,
377 UpdateInfoType = (UpdateInfo | DataTypeInt) + 2,
378 UpdateInfoVersion = (UpdateInfo | DataTypeInt) + 3,
379 UpdateInfoImageChanged = (UpdateInfo | DataTypeBool) + 4,
380 UpdateInfoLastChangedType = (UpdateInfo | DataTypeInt) + 5,
384 internal static class Record
386 internal const uint AverageSize = 120; /* average size of person record */
390 /// Enumeration for contact change state.
392 /// <since_tizen> 4 </since_tizen>
393 public enum ChangeType
410 /// Describes properties of a Address book record.
412 /// <since_tizen> 4 </since_tizen>
413 public static class AddressBook
416 /// Identifier of this contacts address book view
418 public const string Uri = "tizen.contacts_view.addressbook";
420 /// integer, read only, DB record ID of the address book
422 public const uint Id = (uint)Property.Id.AddressBookId;
424 /// integer, read/write once, Account ID that the address book belongs to
426 public const uint AccountId = (uint)Property.Id.AddressBookAccountId;
428 /// string, read/write, It cannot be NULL. Duplicate names are not allowed.
430 public const uint Name = (uint)Property.Id.AddressBookName;
432 /// integer, read/write, AddressBook mode, refer to the ModeValue
434 public const uint Mode = (uint)Property.Id.AddressBookMode;
437 /// Enumeration for Address book mode.
439 /// <since_tizen> 4 </since_tizen>
440 public enum ModeValue
443 /// All module can read and write contacts of this address_book
447 /// All module can only read contacts of this address_book
454 /// Describes properties of a Group record.
456 /// <since_tizen> 4 </since_tizen>
457 public static class Group
460 /// Identifier of this contacts group view
462 public const string Uri = "tizen.contacts_view.group";
464 /// DB record ID of the group
466 public const uint Id = (uint)Property.Id.GroupId;
468 /// AddressBook ID that the group belongs to
470 public const uint AddressBookId = (uint)Property.Id.GroupAddressBookId;
474 public const uint Name = (uint)Property.Id.GroupName;
476 /// Ringtone path of the group
478 public const uint RingtonePath = (uint)Property.Id.GroupRingtone;
480 /// Image path of the group
482 public const uint ImagePath = (uint)Property.Id.GroupImage;
484 /// Vibration path of the group
486 public const uint Vibration = (uint)Property.Id.GroupVibration;
488 /// Extra data for default group name
490 public const uint ExtraData = (uint)Property.Id.GroupExtraData;
492 /// The group is read only or not
494 public const uint IsReadOnly = (uint)Property.Id.GroupIsReadOnly;
496 /// Message alert path of the group
498 public const uint MessageAlert = (uint)Property.Id.GroupMessageAlert;
502 /// Describes properties of a Person record.
504 /// <since_tizen> 4 </since_tizen>
505 public static class Person
508 /// Identifier of this contacts person view
510 public const string Uri = "tizen.contacts_view.person";
512 /// DB record ID of the person
514 public const uint Id = (uint)Property.Id.PersonId;
516 /// Display name of the person
518 public const uint DisplayName = (uint)Property.Id.PersonDisplayName;
520 /// The first character of first string for grouping. This is normalized using ICU (projection)
522 public const uint DisplayNameIndex = (uint)Property.Id.PersonDisplayNameIndex;
524 /// Display contact ID that the person belongs to
526 public const uint DisplayContactId = (uint)Property.Id.PersonDisplayContactId;
528 /// Ringtone path of the person
530 public const uint RingtonePath = (uint)Property.Id.PersonRingtone;
532 /// Image thumbnail path of the person
534 public const uint ThumbnailPath = (uint)Property.Id.PersonThumbnail;
536 /// Vibration path of the person
538 public const uint Vibration = (uint)Property.Id.PersonVibration;
540 /// Message alert path of the person
542 public const uint MessageAlert = (uint)Property.Id.PersonMessageAlert;
544 /// Status of social account
546 public const uint Status = (uint)Property.Id.PersonStatus;
548 /// The person is favorite or not
550 public const uint IsFavorite = (uint)Property.Id.PersonIsFavorite;
552 /// The priority of favorite contacts. it can be used as sorting key
554 public const uint FavoritePriority = (uint)Property.Id.PersonFavoritePriority;
556 /// Link count of contact records (projection)
558 public const uint LinkCount = (uint)Property.Id.PersonLinkCount;
560 /// AddressBook IDs that the person belongs to (projection)
562 public const uint AddressBookIds = (uint)Property.Id.PersonAddressBookIds;
564 /// The person has phone number or not
566 public const uint HasPhoneNumber = (uint)Property.Id.PersonHasPhoneNumber;
568 /// The person has email or not
570 public const uint HasEmail = (uint)Property.Id.PersonHasEmail;
572 /// keyword matched data type
574 public const uint SnippetType = (uint)Property.Id.PersonSnippetType;
576 /// keyword matched data string
578 public const uint SnippetString = (uint)Property.Id.PersonSnippetString;
582 /// Describes properties of a Contact record.
584 /// <since_tizen> 4 </since_tizen>
585 public static class Contact
588 /// Identifier of this contact view
590 public const string Uri = "tizen.contacts_view.contact";
592 /// DB record ID of the contact
594 public const uint Id = (uint)Property.Id.ContactId;
596 /// Display name of the contact
598 public const uint DisplayName = (uint)Property.Id.ContactDisplayName;
600 /// The source type of display name, refer to the DisplayNameSourceType
602 public const uint DisplaySourceType = (uint)Property.Id.ContactDisplaySourceDataId;
604 /// AddressBook ID that the contact belongs to
606 public const uint AddressBookId = (uint)Property.Id.ContactAddressBookId;
608 /// Ringtone path of the contact
610 public const uint RingtonePath = (uint)Property.Id.ContactRingtone;
612 /// Image thumbnail path of the contact
614 public const uint ThumbnailPath = (uint)Property.Id.ContactThumbnail;
616 /// The contact is favorite or not
618 public const uint IsFavorite = (uint)Property.Id.ContactIsFavorite;
620 /// The contact has phone number or not
622 public const uint HasPhoneNumber = (uint)Property.Id.ContactHasPhoneNumber;
624 /// The contact has email or not
626 public const uint HasEmail = (uint)Property.Id.ContactHasEmail;
628 /// Person ID that the contact belongs to. If set when inserting, a contact will be linked to person
630 public const uint PersonId = (uint)Property.Id.ContactPersonId;
632 /// Unique identifier
634 public const uint UId = (uint)Property.Id.ContactUId;
636 /// Vibration path of the contact
638 public const uint Vibration = (uint)Property.Id.ContactVibration;
640 /// Message alert path of the contact
642 public const uint MessageAlert = (uint)Property.Id.ContactMessageAlert;
644 /// Last changed contact time
646 public const uint ChangedTime = (uint)Property.Id.ContactChangedTime;
648 /// The link mode, refer to the LinkModeValue. If the person_id was set, this value will be ignored
650 public const uint LinkMode = (uint)Property.Id.ContactLinkMode;
652 /// Name child record (single)
654 public const uint Name = (uint)Property.Id.ContactName;
656 /// Company child record (multiple)
658 public const uint Company = (uint)Property.Id.ContactCompany;
660 /// Note child record (multiple)
662 public const uint Note = (uint)Property.Id.ContactNote;
664 /// Number child record (multiple)
666 public const uint Number = (uint)Property.Id.ContactNumber;
668 /// Email child record (multiple)
670 public const uint Email = (uint)Property.Id.ContactEmail;
672 /// Event child record (multiple)
674 public const uint Event = (uint)Property.Id.ContactEvent;
676 /// Messenger child record (multiple)
678 public const uint Messenger = (uint)Property.Id.ContactMessenger;
680 /// Address child record (multiple)
682 public const uint Address = (uint)Property.Id.ContactAddress;
684 /// URL child record (multiple)
686 public const uint URL = (uint)Property.Id.ContactURL;
688 /// Nickname child record (multiple)
690 public const uint Nickname = (uint)Property.Id.ContactNickname;
692 /// Profile child record (multiple)
694 public const uint Profile = (uint)Property.Id.ContactProfile;
696 /// Relationship child record (multiple)
698 public const uint Relationship = (uint)Property.Id.ContactRelationship;
700 /// Image child record (multiple)
702 public const uint Image = (uint)Property.Id.ContactImage;
704 /// GroupRelation child record (multiple)
706 public const uint GroupRelation = (uint)Property.Id.ContactGroupRelation;
708 /// Extension child record (multiple)
710 public const uint Extension = (uint)Property.Id.ContactExtension;
712 /// Sip child record (multiple)
714 public const uint Sip = (uint)Property.Id.ContactSip;
717 /// Enumeration for link mode when inserting contact.
719 /// <since_tizen> 4 </since_tizen>
720 public enum LinkModeValue
723 /// Auto link immediately
727 /// Do not auto link when the contact is inserted
733 /// Enumeration for Contact display name source type.
735 /// <since_tizen> 4 </since_tizen>
736 public enum DisplayNameSourceType
739 /// Invalid source of display name
743 /// Produced display name from email record
747 /// Produced display name from number record
751 /// Produced display name from nickname record
755 /// Produced display name from company record
759 /// Produced display name from name record
765 /// Enumeration for contacts data type.
767 /// <since_tizen> 4 </since_tizen>
838 /// Describes properties of a Simple contact record.
840 /// <since_tizen> 4 </since_tizen>
841 public static class SimpleContact
844 /// Identifier of this simple contact view
846 public const string Uri = "tizen.contacts_view.simple_contact";
848 /// DB record ID of the contact
850 public const uint Id = (uint)Property.Id.ContactId;
852 /// Display name of the contact
854 public const uint DisplayName = (uint)Property.Id.ContactDisplayName;
856 /// The source type of display name, refer to the Contact.DisplayNameSourceType
858 public const uint DisplaySourceType = (uint)Property.Id.ContactDisplaySourceDataId;
860 /// AddressBook that the contact belongs to
862 public const uint AddressBookId = (uint)Property.Id.ContactAddressBookId;
864 /// Ringtone path of the contact
866 public const uint RingtonePath = (uint)Property.Id.ContactRingtone;
868 /// Image thumbnail path of the contact
870 public const uint ThumbnailPath = (uint)Property.Id.ContactThumbnail;
872 /// The contact is favorite or not
874 public const uint IsFavorite = (uint)Property.Id.ContactIsFavorite;
876 /// The contact has phone number or not
878 public const uint HasPhoneNumber = (uint)Property.Id.ContactHasPhoneNumber;
880 /// The contact has email or not
882 public const uint HasEmail = (uint)Property.Id.ContactHasEmail;
884 /// Person ID that the contact belongs to
886 public const uint PersonId = (uint)Property.Id.ContactPersonId;
888 /// Unique identifier
890 public const uint UId = (uint)Property.Id.ContactUId;
892 /// Vibration path of the contact
894 public const uint Vibration = (uint)Property.Id.ContactVibration;
896 /// Message alert path of the contact
898 public const uint MessageAlert = (uint)Property.Id.ContactMessageAlert;
900 /// Last changed contact time
902 public const uint ChangedTime = (uint)Property.Id.ContactChangedTime;
906 /// Describes properties of a My profile record.
908 /// <since_tizen> 4 </since_tizen>
909 public static class MyProfile
912 /// Identifier of this my profile view
914 public const string Uri = "tizen.contacts_view.my_profile";
916 /// DB record ID of the my profile
918 public const uint Id = (uint)Property.Id.MyProfileId;
920 /// Display name of the profile
922 public const uint DisplayName = (uint)Property.Id.MyProfileDisplayName;
924 /// AddressBook ID that the profile belongs to
926 public const uint AddressBookId = (uint)Property.Id.MyProfileAddressBookId;
928 /// Image thumbnail path of the profile
930 public const uint ThumbnailPath = (uint)Property.Id.MyProfileThumbnail;
932 /// Unique identifier
934 public const uint UId = (uint)Property.Id.MyProfileUId;
936 /// Last changed profile time
938 public const uint ChangedTime = (uint)Property.Id.MyProfileChangedTime;
940 /// Name child record (single)
942 public const uint Name = (uint)Property.Id.MyProfileName;
944 /// Company child record (multiple)
946 public const uint Company = (uint)Property.Id.MyProfileCompany;
948 /// Note child record (multiple)
950 public const uint Note = (uint)Property.Id.MyProfileNote;
952 /// Number child record (multiple)
954 public const uint Number = (uint)Property.Id.MyProfileNumber;
956 /// Email child record (multiple)
958 public const uint Email = (uint)Property.Id.MyProfileEmail;
960 /// Event child record (multiple)
962 public const uint Event = (uint)Property.Id.MyProfileEvent;
964 /// Messenger child record (multiple)
966 public const uint Messenger = (uint)Property.Id.MyProfileMessenger;
968 /// Address child record (multiple)
970 public const uint Address = (uint)Property.Id.MyProfileAddress;
972 /// URL child record (multiple)
974 public const uint URL = (uint)Property.Id.MyProfileURL;
976 /// Nickname child record (multiple)
978 public const uint Nickname = (uint)Property.Id.MyProfileNickname;
980 /// Profile child record (multiple)
982 public const uint Profile = (uint)Property.Id.MyProfileProfile;
984 /// Relationship child record (multiple)
986 public const uint Relationship = (uint)Property.Id.MyProfileRelationship;
988 /// Image child record (multiple)
990 public const uint Image = (uint)Property.Id.MyProfileImage;
992 /// Extension child record (multiple)
994 public const uint Extension = (uint)Property.Id.MyProfileExtension;
996 /// Sip child record (multiple)
998 public const uint Sip = (uint)Property.Id.MyProfileSip;
1002 /// Describes properties of a Name record.
1004 /// <since_tizen> 4 </since_tizen>
1005 public static class Name
1008 /// Identifier of this contacts name view
1010 public const string Uri = "tizen.contacts_view.name";
1012 /// DB record ID of the name
1014 public const uint Id = (uint)Property.Id.NameId;
1016 /// Contacts ID that the name record belongs to
1018 public const uint ContactId = (uint)Property.Id.NameContactId;
1022 public const uint First = (uint)Property.Id.NameFirst;
1026 public const uint Last = (uint)Property.Id.NameLast;
1030 public const uint Addition = (uint)Property.Id.NameAddition;
1034 public const uint Suffix = (uint)Property.Id.NameSuffix;
1038 public const uint Prefix = (uint)Property.Id.NamePrefix;
1040 /// Pronounce the first name
1042 public const uint PhoneticFirst = (uint)Property.Id.NamePhoneticFirst;
1044 /// Pronounce the middle name
1046 public const uint PhoneticMiddle = (uint)Property.Id.NamePhoneticMiddle;
1048 /// Pronounce the last name
1050 public const uint PhoneticLast = (uint)Property.Id.NamePhoneticLast;
1054 /// Describes properties of a Number record.
1056 /// <since_tizen> 4 </since_tizen>
1057 public static class Number
1060 /// Identifier of this contacts number view
1062 public const string Uri = "tizen.contacts_view.number";
1064 /// DB record ID of the number
1066 public const uint Id = (uint)Property.Id.NumberId;
1068 /// Contact ID that the number belongs to
1070 public const uint ContactId = (uint)Property.Id.NumberContactId;
1072 /// Number type, refer to the Types
1074 public const uint Type = (uint)Property.Id.NumberType;
1076 /// Custom number type label, when the number type is Types.Custom
1078 public const uint Label = (uint)Property.Id.NumberLabel;
1080 /// The number is default number or not
1082 public const uint IsDefault = (uint)Property.Id.NumberIsDefault;
1086 public const uint NumberData = (uint)Property.Id.NumberNumber;
1088 /// You can only use this property for search filter.
1090 public const uint NormalizedNumber = (uint)Property.Id.NumberNormalizedNumber;
1092 /// You can only use this property for search filter.
1094 public const uint CleanedNumber = (uint)Property.Id.NumberCleanedNumber;
1096 /// You can only use this property for search filter.
1098 public const uint NumberFilter = (uint)Property.Id.NumberNumberFilter;
1101 /// Enumeration for number type.
1103 /// <since_tizen> 4 </since_tizen>
1108 /// Other number type
1112 /// Custom number type
1116 /// A telephone number associated with a residence
1120 /// A telephone number associated with a place of work
1124 /// A voice telephone number
1128 /// A facsimile telephone number
1132 /// The telephone number has voice messaging support
1136 /// A cellular telephone number
1140 /// A paging device telephone number
1144 /// A bulletin board system telephone number
1148 /// A MODEM connected telephone number
1152 /// A car-phone telephone number
1156 /// An ISDN service telephone number
1160 /// A video conferencing telephone number
1164 /// A personal communication services telephone number
1168 /// A company main number
1172 /// A radio phone number
1176 /// An additional type for main
1180 /// An additional type for assistant
1182 Assistant = 1 << 30,
1187 /// Describes properties of a Email record.
1189 /// <since_tizen> 4 </since_tizen>
1190 public static class Email
1193 /// Identifier of this contacts email view
1195 public const string Uri = "tizen.contacts_view.email";
1197 /// DB record ID of the email
1199 public const uint Id = (uint)Property.Id.EmailId;
1201 /// Contact ID that the email belongs to
1203 public const uint ContactId = (uint)Property.Id.EmailContactId;
1205 /// Email type, refer to the Types
1207 public const uint Type = (uint)Property.Id.EmailType;
1209 /// Custom mail type label, when the email type is Types.Custom
1211 public const uint Label = (uint)Property.Id.EmailLabel;
1213 /// The email is default email or not
1215 public const uint IsDefault = (uint)Property.Id.EmailIsDefault;
1219 public const uint Address = (uint)Property.Id.EmailEmail;
1222 /// Enumeration for Contact email type.
1224 /// <since_tizen> 4 </since_tizen>
1229 /// Other email type
1233 /// Custom email type
1237 /// An email address associated with a residence
1241 /// An email address associated with a place of work
1245 /// A mobile email address
1252 /// Describes properties of a Address record.
1254 /// <since_tizen> 4 </since_tizen>
1255 public static class Address
1258 /// Identifier of this contacts address view
1260 public const string Uri = "tizen.contacts_view.address";
1262 /// DB record ID of the address
1264 public const uint Id = (uint)Property.Id.AddressId;
1266 /// Contact ID that the address belongs to
1268 public const uint ContactId = (uint)Property.Id.AddressContactId;
1270 /// Address type, refer to the Types
1272 public const uint Type = (uint)Property.Id.AddressType;
1274 /// Address type label, when the address type is Types.Custom
1276 public const uint Label = (uint)Property.Id.AddressLabel;
1280 public const uint Postbox = (uint)Property.Id.AddressPostbox;
1284 public const uint PostalCode = (uint)Property.Id.AddressPostalCode;
1288 public const uint Region = (uint)Property.Id.AddressRegion;
1292 public const uint Locality = (uint)Property.Id.AddressLocality;
1296 public const uint Street = (uint)Property.Id.AddressStreet;
1300 public const uint Country = (uint)Property.Id.AddressCountry;
1302 /// Extended address
1304 public const uint Extended = (uint)Property.Id.AddressExtended;
1306 /// The address is default or not
1308 public const uint IsDefault = (uint)Property.Id.AddressIsDefault;
1311 /// Enumeration for Contact address type.
1313 /// <since_tizen> 4 </since_tizen>
1318 /// Other address type
1322 /// Custom address type
1326 /// A delivery address for a residence
1330 /// A delivery address for a place of work
1334 /// A domestic delivery address
1338 /// An international delivery address
1340 International = 1 << 4,
1342 /// A postal delivery address
1346 /// A parcel delivery address
1353 /// Describes properties of a Note record.
1355 /// <since_tizen> 4 </since_tizen>
1356 public static class Note
1359 /// Identifier of this contacts note view
1361 public const string Uri = "tizen.contacts_view.note";
1363 /// DB record ID of the note
1365 public const uint Id = (uint)Property.Id.NoteId;
1367 /// Contact ID that the note belongs to
1369 public const uint ContactId = (uint)Property.Id.NoteContactId;
1373 public const uint Contents = (uint)Property.Id.NoteNote;
1377 /// Describes properties of a URL record.
1379 /// <since_tizen> 4 </since_tizen>
1380 public static class URL
1383 /// Identifier of this contacts URL view
1385 public const string Uri = "tizen.contacts_view.url";
1387 /// DB record ID of the URL
1389 public const uint Id = (uint)Property.Id.URLId;
1391 /// Contact ID that the URL belongs to
1393 public const uint ContactId = (uint)Property.Id.URLContactId;
1395 /// URL type, refer to the TypeValue
1397 public const uint Type = (uint)Property.Id.URLType;
1399 /// Custom URL type label, when the URL type is TypeValue.Custom
1401 public const uint Label = (uint)Property.Id.URLLabel;
1405 public const uint URLData = (uint)Property.Id.URLData;
1408 /// Enumeration for Contact URL type.
1410 /// <since_tizen> 4 </since_tizen>
1411 public enum TypeValue
1433 /// Describes properties of a Event record.
1435 /// <since_tizen> 4 </since_tizen>
1436 [SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords")]
1437 public static class Event
1440 /// Identifier of this contacts event view
1442 public const string Uri = "tizen.contacts_view.event";
1444 /// DB record ID of the event
1446 public const uint Id = (uint)Property.Id.EventId;
1448 /// Contact ID that the event belongs to
1450 public const uint ContactId = (uint)Property.Id.EventContactId;
1452 /// Event type, refer to the TypeValue
1454 public const uint Type = (uint)Property.Id.EventType;
1456 /// Custom event type label, when the event type is TypeValue.Custom
1458 public const uint Label = (uint)Property.Id.EventLabel;
1460 /// 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
1462 public const uint Date = (uint)Property.Id.EventDate;
1464 /// Calendar type, refer to the CalendarType
1466 public const uint IsLeapMonth = (uint)Property.Id.EventIsLeapMonth;
1469 /// Enumeration for Contact event type.
1471 /// <since_tizen> 4 </since_tizen>
1472 public enum TypeValue
1475 /// Other event type
1479 /// Custom event type
1483 /// Birthday event type
1487 /// Anniversary event type
1493 /// Enumeration for Contact event calendar type.
1495 /// <since_tizen> 4 </since_tizen>
1496 public enum CalendarType
1499 /// Gregorian calendar
1503 /// Chinese calendar
1510 /// Describes properties of a Relationship record.
1512 /// <since_tizen> 4 </since_tizen>
1513 public static class Relationship
1516 /// Identifier of this relationship view
1518 public const string Uri = "tizen.contacts_view.relationship";
1520 /// DB record ID of the relationship
1522 public const uint Id = (uint)Property.Id.RelationshipId;
1524 /// Contact ID that the relationship belongs to
1526 public const uint ContactId = (uint)Property.Id.RelationshipContactId;
1528 /// Relationship type, refer to the TypeValue
1530 public const uint Type = (uint)Property.Id.RelationshipType;
1532 /// Custom relationship type label, when the relationship type is TypeValue.Custom
1534 public const uint Label = (uint)Property.Id.RelationshipLabel;
1536 /// Selected contact name that the relationship belongs to
1538 public const uint Name = (uint)Property.Id.RelationshipName;
1541 /// Enumeration for Contact relationship type.
1543 /// <since_tizen> 4 </since_tizen>
1544 public enum TypeValue
1547 /// Other relationship type
1563 /// Domestic Partner type
1591 /// Referred by type
1614 /// Describes properties of a Image record.
1616 /// <since_tizen> 4 </since_tizen>
1617 public static class Image
1620 /// Identifier of this contacts image view
1622 public const string Uri = "tizen.contacts_view.image";
1624 /// DB record ID of the image
1626 public const uint Id = (uint)Property.Id.ImageId;
1628 /// Contact ID that the image belongs to
1630 public const uint ContactId = (uint)Property.Id.ImageContactId;
1632 /// Image type, refer to the TypeValue
1634 public const uint Type = (uint)Property.Id.ImageType;
1636 /// Custom image type label, when the image type is TypeValue.Custom
1638 public const uint Label = (uint)Property.Id.ImageLabel;
1640 /// Image thumbnail path
1642 public const uint Path = (uint)Property.Id.ImagePath;
1644 /// The Image is default or not
1646 public const uint IsDefault = (uint)Property.Id.ImageIsDefault;
1649 /// Enumeration for Contact image type.
1651 /// <since_tizen> 4 </since_tizen>
1652 public enum TypeValue
1666 /// Describes properties of a Company record.
1668 /// <since_tizen> 4 </since_tizen>
1669 public static class Company
1672 /// Identifier of this contacts company view
1674 public const string Uri = "tizen.contacts_view.company";
1676 /// DB record ID of the company
1678 public const uint Id = (uint)Property.Id.CompanyId;
1680 /// Contact ID that the company belongs to
1682 public const uint ContactId = (uint)Property.Id.CompanyContactId;
1684 /// Company type, refer to the TypeValue
1686 public const uint Type = (uint)Property.Id.CompanyType;
1688 /// Custom company type label, when the company type is TypeValue.Custom
1690 public const uint Label = (uint)Property.Id.CompanyLabel;
1694 public const uint Name = (uint)Property.Id.CompanyName;
1698 public const uint Department = (uint)Property.Id.CompanyDepartment;
1702 public const uint JobTitle = (uint)Property.Id.CompanyJobTitle;
1706 public const uint AssistantName = (uint)Property.Id.CompanyAssistantName;
1710 public const uint Role = (uint)Property.Id.CompanyRole;
1712 /// Company logo image file path
1714 public const uint Logo = (uint)Property.Id.CompanyLogo;
1716 /// Company location
1718 public const uint Location = (uint)Property.Id.CompanyLocation;
1722 public const uint Description = (uint)Property.Id.CompanyDescription;
1724 /// Pronounce the company name
1726 public const uint PhoneticName = (uint)Property.Id.CompanyPhoneticName;
1729 /// Enumeration for Contact company type.
1731 /// <since_tizen> 4 </since_tizen>
1732 public enum TypeValue
1750 /// Describes properties of a Nickname record.
1752 /// <since_tizen> 4 </since_tizen>
1753 public static class Nickname
1756 /// Identifier of this contacts nickname view
1758 public const string Uri = "tizen.contacts_view.nickname";
1760 /// DB record ID of the nickname
1762 public const uint Id = (uint)Property.Id.NicknameId;
1764 /// Contact ID that the nickname belongs to
1766 public const uint ContactId = (uint)Property.Id.NicknameContactId;
1770 public const uint Name = (uint)Property.Id.NicknameName;
1774 /// Describes properties of a Messenger record.
1776 /// <since_tizen> 4 </since_tizen>
1777 public static class Messenger
1780 /// Identifier of this contacts messenger view
1782 public const string Uri = "tizen.contacts_view.messenger";
1784 /// DB record ID of the messenger
1786 public const uint Id = (uint)Property.Id.MessengerId;
1788 /// Contact ID that the messenger belongs to
1790 public const uint ContactId = (uint)Property.Id.MessengerContactId;
1792 /// Messenger type, refer to the TypeValue
1794 public const uint Type = (uint)Property.Id.MessengerType;
1796 /// Custom messenger type label, when the messenger type is TypeValue.Custom
1798 public const uint Label = (uint)Property.Id.MessengerLabel;
1800 /// Messenger ID (email address or email ID...)
1802 public const uint IMId = (uint)Property.Id.MessengerIMId;
1805 /// Enumeration for Contact messenger type.
1807 /// <since_tizen> 4 </since_tizen>
1808 public enum TypeValue
1811 /// Other messenger type
1815 /// Custom messenger type
1819 /// Google messenger type
1823 /// Windows live messenger type
1827 /// Yahoo messenger type
1831 /// Facebook messenger type
1839 /// AOL instance messenger type
1862 /// Describes properties of a Profile record.
1864 /// <since_tizen> 4 </since_tizen>
1865 [SuppressMessage("Microsoft.Naming", "CA1724:TypeNamesShouldNotMatchNamespaces")]
1866 public static class Profile
1869 /// Identifier of this contacts profile view
1871 public const string Uri = "tizen.contacts_view.profile";
1873 /// DB record ID of profile
1875 public const uint Id = (uint)Property.Id.ProfileId;
1877 /// Contacts ID that the profile belongs to
1879 public const uint ContactId = (uint)Property.Id.ProfileContactId;
1881 /// Unique identifier
1883 public const uint UId = (uint)Property.Id.ProfileUId;
1885 /// Profile contents
1887 public const uint Text = (uint)Property.Id.ProfileText;
1889 /// Priority to display the profile
1891 public const uint Order = (uint)Property.Id.ProfileOrder;
1893 /// Data for app_control_set_operation
1895 public const uint ServiceOperation = (uint)Property.Id.ProfileServiceOperation;
1897 /// Data for app_control_set_mime
1899 public const uint Mime = (uint)Property.Id.ProfileMIME;
1901 /// Data for app_control_set_app_id
1903 public const uint AppId = (uint)Property.Id.ProfileAppId;
1905 /// Data for app_control_set_uri
1907 public const uint ProfileUri = (uint)Property.Id.ProfileUri;
1909 /// Data for app_control_set_category
1911 public const uint Category = (uint)Property.Id.ProfileCategory;
1913 /// It includes "key:value,key:value," pairs. You should parse it. And you must base64 encode each key and value
1915 public const uint ExtraData = (uint)Property.Id.ProfileExtraData;
1919 /// Describes properties of a Sip record.
1921 /// <since_tizen> 4 </since_tizen>
1922 public static class Sip
1925 /// Identifier of this contacts sip view
1927 public const string Uri = "tizen.contacts_view.sip";
1929 /// DB record ID of the sip
1931 public const uint Id = (uint)Property.Id.SipId;
1933 /// Contact ID that the sip belongs to
1935 public const uint ContactId = (uint)Property.Id.SipContactId;
1939 public const uint Address = (uint)Property.Id.SipAddress;
1941 /// sip type, refer to the TypeValue
1943 public const uint Type = (uint)Property.Id.SipType;
1945 /// Custom sip type label, when the sip type is TypeValue.Custom
1947 public const uint Label = (uint)Property.Id.SipLabel;
1950 /// Enumeration for Contact SIP type.
1952 /// <since_tizen> 4 </since_tizen>
1953 public enum TypeValue
1975 /// Describes properties of a Extension record.
1977 /// <since_tizen> 4 </since_tizen>
1978 public static class Extension
1981 /// Identifier of this contacts extension view
1983 public const string Uri = "tizen.contacts_view.extension";
1985 /// DB record ID of the contact extension
1987 public const uint Id = (uint)Property.Id.ExtensionId;
1989 /// Contact ID that the contact extension belongs to
1991 public const uint ContactId = (uint)Property.Id.ExtensionContactId;
1993 /// The extra child record format for non-provided from contacts-service
1995 public const uint Data1 = (uint)Property.Id.ExtensionData1;
1997 /// The extra child record format for non-provided from contacts-service
1999 public const uint Data2 = (uint)Property.Id.ExtensionData2;
2001 /// The extra child record format for non-provided from contacts-service
2003 public const uint Data3 = (uint)Property.Id.ExtensionData3;
2005 /// The extra child record format for non-provided from contacts-service
2007 public const uint Data4 = (uint)Property.Id.ExtensionData4;
2009 /// The extra child record format for non-provided from contacts-service
2011 public const uint Data5 = (uint)Property.Id.ExtensionData5;
2013 /// The extra child record format for non-provided from contacts-service
2015 public const uint Data6 = (uint)Property.Id.ExtensionData6;
2017 /// The extra child record format for non-provided from contacts-service
2019 public const uint Data7 = (uint)Property.Id.ExtensionData7;
2021 /// The extra child record format for non-provided from contacts-service
2023 public const uint Data8 = (uint)Property.Id.ExtensionData8;
2025 /// The extra child record format for non-provided from contacts-service
2027 public const uint Data9 = (uint)Property.Id.ExtensionData9;
2029 /// The extra child record format for non-provided from contacts-service
2031 public const uint Data10 = (uint)Property.Id.ExtensionData10;
2033 /// The extra child record format for non-provided from contacts-service
2035 public const uint Data11 = (uint)Property.Id.ExtensionData11;
2037 /// The extra child record format for non-provided from contacts-service
2039 public const uint Data12 = (uint)Property.Id.ExtensionData12;
2043 /// Describes properties of a Group relation record.
2045 /// <since_tizen> 4 </since_tizen>
2046 public static class GroupRelation
2049 /// Identifier of this relationship view
2051 public const string Uri = "tizen.contacts_view.group_relation";
2053 /// DB record ID of the group relation (can not be used as filter)
2055 public const uint Id = (uint)Property.Id.GroupRelationId;
2057 /// DB record ID of the group
2059 public const uint GroupId = (uint)Property.Id.GroupRelationGroupId;
2061 /// DB record ID of the contact
2063 public const uint ContactId = (uint)Property.Id.GroupRelationContactId;
2067 public const uint Name = (uint)Property.Id.GroupRelationGroupName;
2071 /// Describes properties of a Speed dial record.
2073 /// <since_tizen> 4 </since_tizen>
2074 public static class SpeedDial
2077 /// Identifier of this contact speed dial view
2079 public const string Uri = "tizen.contacts_view.speeddial";
2081 /// Stored speed dial number
2083 public const uint SpeedDialNumber = (uint)Property.Id.SpeedDialDialNumber;
2085 /// Number ID that the speed dial belongs to
2087 public const uint NumberId = (uint)Property.Id.SpeedDialNumberId;
2089 /// Contact number of specified speed dial
2091 public const uint Number = (uint)Property.Id.SpeedDialNumber;
2093 /// Contact number label of specified speed dial, when the number type is Number.Types.Custom
2095 public const uint NumberLabel = (uint)Property.Id.SpeedDialNumberLabel;
2097 /// Contact number type, refer to the Number.Types
2099 public const uint NumberType = (uint)Property.Id.SpeedDialNumberType;
2101 /// Person ID that the speed dial belongs to
2103 public const uint PersonId = (uint)Property.Id.SpeedDialPersonId;
2105 /// Display name that the speed dial belongs to
2107 public const uint DisplayName = (uint)Property.Id.SpeedDialDisplayName;
2109 /// Image thumbnail path that the speed dial belongs to
2111 public const uint ThumbnailPath = (uint)Property.Id.SpeedDialThumbnail;
2113 /// You can only use this property for search filter
2115 public const uint NormalizedNumber = (uint)Property.Id.SpeedDialNormalizedNumber;
2117 /// You can only use this property for search filter
2119 public const uint CleanedNumber = (uint)Property.Id.SpeedDialCleanedNumber;
2121 /// 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
2123 public const uint NumberFilter = (uint)Property.Id.SpeedDialNumberFilter;
2127 /// Describes properties of a Phone log record.
2129 /// <since_tizen> 4 </since_tizen>
2130 public static class PhoneLog
2133 /// Identifier of this phone log view
2135 public const string Uri = "tizen.contacts_view.phonelog";
2137 /// DB record ID of phone log
2139 public const uint Id = (uint)Property.Id.PhonelogId;
2141 /// Person ID that the phone log belongs to
2143 public const uint PersonId = (uint)Property.Id.PhonelogPersonId;
2145 /// Number or Email that the phone log displays
2147 public const uint Address = (uint)Property.Id.PhonelogAddress;
2149 /// Call end time. The value means number of seconds since 1970-01-01 00:00:00 (UTC)
2151 public const uint LogTime = (uint)Property.Id.PhonelogLogTime;
2153 /// Log type, refer to the Type
2155 public const uint LogType = (uint)Property.Id.PhonelogLogType;
2157 /// You can set the related integer data (e.g. message_id, email_id or duration(seconds) of call)
2159 public const uint ExtraData1 = (uint)Property.Id.PhonelogExtraData1;
2161 /// You can set the related string data (e.g. short message, subject)
2163 public const uint ExtraData2 = (uint)Property.Id.PhonelogExtraData2;
2165 /// You can only use this property for search filter
2167 public const uint NormalizedAddress = (uint)Property.Id.PhonelogNormalizedAddress;
2169 /// You can only use this property for search filter
2171 public const uint CleanedAddress = (uint)Property.Id.PhonelogCleanedAddress;
2173 /// You can only use this property for search filter
2175 public const uint AddressFilter = (uint)Property.Id.PhonelogAddressFilter;
2177 /// You can set the related Sim slot number. SimSlotNo 0 means first Sim card, SimSlotNo 1 means second Sim.
2179 public const uint SimSlotNo = (uint)Property.Id.PhonelogSimSlotNo;
2182 /// Enumeration for Phone log type.
2184 /// <since_tizen> 4 </since_tizen>
2200 /// Incoming video call
2204 /// Outgoing video call
2208 /// Not confirmed missed call
2210 VoiceMissedUnseen = 5,
2212 /// Confirmed missed call
2214 VoiceMissedSeen = 6,
2216 /// Not confirmed missed video call
2218 VideoMissedUnseen = 7,
2220 /// Confirmed missed video call
2222 VideoMissedSeen = 8,
2228 /// Rejected video call
2236 /// Blocked video call
2266 EmailReceived = 201,
2276 /// Describes properties of a Contact updated information record.
2278 /// <remarks>Read only view</remarks>
2279 /// <since_tizen> 4 </since_tizen>
2280 public static class ContactUpdatedInfo
2283 /// Identifier of this contact updated info view
2285 public const string Uri = "tizen.contacts_view.contacts_updated_info";
2287 /// Updated contact ID
2289 public const uint ContactId = (uint)Property.Id.UpdateInfoId;
2291 /// AddressBook ID that the updated contact belongs to
2293 public const uint AddressBookId = (uint)Property.Id.UpdateInfoAddressBookId;
2295 /// Contact change type, refer to the ContactsViews.ChangeType
2297 public const uint Type = (uint)Property.Id.UpdateInfoType;
2301 public const uint Version = (uint)Property.Id.UpdateInfoVersion;
2303 /// Contact image is changed or not
2305 public const uint ImageChanged = (uint)Property.Id.UpdateInfoImageChanged;
2309 /// Describes properties of a My profile updated information record.
2311 /// <remarks>Read only view</remarks>
2312 /// <since_tizen> 4 </since_tizen>
2313 public static class MyProfileUpdatedInfo
2316 /// Identifier of this my profile updated info view
2318 public const string Uri = "tizen.contacts_view.my_profile_updated_info";
2320 /// Address book ID that the updated my profile belongs to
2322 public const uint AddressBookId = (uint)Property.Id.UpdateInfoAddressBookId;
2324 /// MyProfile change type, refer to the ContactsViews.ChangeType
2326 public const uint LastChangedType = (uint)Property.Id.UpdateInfoLastChangedType;
2330 public const uint Version = (uint)Property.Id.UpdateInfoVersion;
2334 /// Describes properties of a Group updated information record.
2336 /// <remarks>Read only view</remarks>
2337 /// <since_tizen> 4 </since_tizen>
2338 public static class GroupUpdatedInfo
2341 /// Identifier of this group updated info view
2343 public const string Uri = "tizen.contacts_view.groups_updated_info";
2345 /// Updated group ID
2347 public const uint GroupId = (uint)Property.Id.UpdateInfoId;
2349 /// Address book ID that the updated group belongs to
2351 public const uint AddressBookId = (uint)Property.Id.UpdateInfoAddressBookId;
2353 /// Group change type, refer to the ContactsViews.ChangeType
2355 public const uint Type = (uint)Property.Id.UpdateInfoType;
2359 public const uint Version = (uint)Property.Id.UpdateInfoVersion;
2363 /// Describes properties of a Group Member updated information record.
2365 /// <remarks>Read only view</remarks>
2366 /// <since_tizen> 4 </since_tizen>
2367 public static class GroupMemberUpdatedInfo
2370 /// Identifier of this group member updated info view
2372 public const string Uri = "tizen.contacts_view.groups_member_updated_info";
2374 /// Updated group ID
2376 public const uint GroupId = (uint)Property.Id.UpdateInfoId;
2378 /// Address book ID that the updated group belongs to
2380 public const uint AddressBookId = (uint)Property.Id.UpdateInfoAddressBookId;
2384 public const uint Version = (uint)Property.Id.UpdateInfoVersion;
2388 /// Describes properties of a Relation updated information record.
2390 /// <remarks>Read only view</remarks>
2391 /// <since_tizen> 4 </since_tizen>
2392 public static class GroupRelationUpdatedInfo
2395 /// Identifier of this group relation updated info view
2397 public const string Uri = "tizen.contacts_view.group_relations_updated_info";
2399 /// Group ID of group relation
2401 public const uint GroupId = (uint)Property.Id.GroupId;
2403 /// Contact ID of the updated group relation
2405 public const uint ContactId = (uint)Property.Id.ContactId;
2407 /// Address book ID of contact that the updated group relation
2409 public const uint AddressBookId = (uint)Property.Id.AddressBookId;
2411 /// Group relation change type, refer to the ContactsViews.ChangeType
2413 public const uint Type = (uint)Property.Id.UpdateInfoType;
2417 public const uint Version = (uint)Property.Id.UpdateInfoVersion;
2421 /// Describes properties of a PersonContact record.
2423 /// <remarks>Read only view</remarks>
2424 /// <since_tizen> 4 </since_tizen>
2425 public static class PersonContact
2428 /// Identifier of this person contact view
2430 public const string Uri = "tizen.contacts_view.person/simple_contact";
2432 /// DB record ID of the person
2434 public const uint PersonId = (uint)Property.Id.PersonId;
2436 /// Display name of the person
2438 public const uint DisplayName = (uint)Property.Id.PersonDisplayName;
2440 /// The first character of first string for grouping. This is normalized using ICU (projection)
2442 public const uint DisplayNameIndex = (uint)Property.Id.PersonDisplayNameIndex;
2444 /// Display contact ID that the person belongs to (projection)
2446 public const uint DisplayContactId = (uint)Property.Id.PersonDisplayContactId;
2448 /// Ringtone path of the person (projection)
2450 public const uint RingtonePath = (uint)Property.Id.PersonRingtone;
2452 /// Image thumbnail path of the person (projection)
2454 public const uint ThumbnailPath = (uint)Property.Id.PersonThumbnail;
2456 /// Vibration path of the person (projection)
2458 public const uint Vibration = (uint)Property.Id.PersonVibration;
2460 /// Message alert path of the person (projection)
2462 public const uint MessageAlert = (uint)Property.Id.PersonMessageAlert;
2464 /// Status of social account (projection)
2466 public const uint Status = (uint)Property.Id.PersonStatus;
2468 /// The person is favorite or not
2470 public const uint IsFavorite = (uint)Property.Id.PersonIsFavorite;
2472 /// Link count of contact records (projection)
2474 public const uint LinkCount = (uint)Property.Id.PersonLinkCount;
2476 /// Contact ID that the person belongs to
2478 public const uint ContactId = (uint)Property.Id.ContactId;
2480 /// AddressBook IDs that the person belongs to (projection)
2482 public const uint AddressBookIds = (uint)Property.Id.PersonAddressBookIds;
2484 /// The person has phone number or not
2486 public const uint HasPhoneNumber = (uint)Property.Id.PersonHasPhoneNumber;
2488 /// The person has email or not
2490 public const uint HasEmail = (uint)Property.Id.PersonHasEmail;
2492 /// AddressBook ID that the person belongs to
2494 public const uint AddressBookId = (uint)Property.Id.ContactAddressBookId;
2496 /// AddressBook mode, refer to the AddressBook.Mode
2498 public const uint AddressBookMode = (uint)Property.Id.AddressBookMode;
2500 /// AddressBook name that the person belongs to
2502 public const uint AddressBookName = (uint)Property.Id.AddressBookName;
2504 /// keyword matched data type, refer to the Contact.DataType
2506 public const uint SnippetType = (uint)Property.Id.PersonSnippetType;
2508 /// keyword matched data string
2510 public const uint SnippetString = (uint)Property.Id.PersonSnippetString;
2514 /// Describes properties of a PersonNumber record.
2516 /// <remarks>Read only view</remarks>
2517 /// <since_tizen> 4 </since_tizen>
2518 public static class PersonNumber
2521 /// Identifier of this person number view
2523 public const string Uri = "tizen.contacts_view.person/simple_contact/number";
2525 /// DB record ID of the person
2527 public const uint PersonId = (uint)Property.Id.PersonId;
2529 /// Display name of the person
2531 public const uint DisplayName = (uint)Property.Id.PersonDisplayName;
2533 /// The first character of first string for grouping. This is normalized using ICU (projection)
2535 public const uint DisplayNameIndex = (uint)Property.Id.PersonDisplayNameIndex;
2537 /// Display contact ID that the person belongs to (projection)
2539 public const uint DisplayContactId = (uint)Property.Id.PersonDisplayContactId;
2541 /// Ringtone path of the person (projection)
2543 public const uint RingtonePath = (uint)Property.Id.PersonRingtone;
2545 /// Image thumbnail path of the person (projection)
2547 public const uint ThumbnailPath = (uint)Property.Id.PersonThumbnail;
2549 /// Vibration path of the person (projection)
2551 public const uint Vibration = (uint)Property.Id.PersonVibration;
2553 /// Message alert path of the person (projection)
2555 public const uint MessageAlert = (uint)Property.Id.PersonMessageAlert;
2557 /// The person is favorite or not
2559 public const uint IsFavorite = (uint)Property.Id.PersonIsFavorite;
2561 /// The person has phone number or not
2563 public const uint HasPhoneNumber = (uint)Property.Id.PersonHasPhoneNumber;
2565 /// The person has email or not
2567 public const uint HasEmail = (uint)Property.Id.PersonHasEmail;
2569 /// Number ID that the person belongs to
2571 public const uint NumberId = (uint)Property.Id.NumberId;
2573 /// Number type, refer to the Number.Types (projection)
2575 public const uint Type = (uint)Property.Id.NumberType;
2577 /// Custom number type label, when the number type is Number.Types.Custom (projection)
2579 public const uint Label = (uint)Property.Id.NumberLabel;
2581 /// The number is default number or not
2583 public const uint IsPrimaryDefault = (uint)Property.Id.DataIsPrimaryDefault;
2587 public const uint Number = (uint)Property.Id.NumberNumber;
2589 /// 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.
2591 public const uint NumberFilter = (uint)Property.Id.NumberNumberFilter;
2593 /// You can only use this property for search filter
2595 public const uint NormalizedNumber = (uint)Property.Id.NumberNormalizedNumber;
2597 /// You can only use this property for search filter
2599 public const uint CleanedNumber = (uint)Property.Id.NumberCleanedNumber;
2601 /// keyword matched data type, refer to they Contact.DataType
2603 public const uint SnippetType = (uint)Property.Id.PersonSnippetType;
2605 /// keyword matched data string
2607 public const uint SnippetString = (uint)Property.Id.PersonSnippetString;
2611 /// Describes properties of a PersonEmail record.
2613 /// <remarks>Read only view</remarks>
2614 /// <since_tizen> 4 </since_tizen>
2615 public static class PersonEmail
2618 /// Identifier of this person email view
2620 public const string Uri = "tizen.contacts_view.person/simple_contact/email";
2622 /// DB record ID of the person
2624 public const uint PersonId = (uint)Property.Id.PersonId;
2626 /// Display name of the person
2628 public const uint DisplayName = (uint)Property.Id.PersonDisplayName;
2630 /// The first character of first string for grouping. This is normalized using ICU (projection)
2632 public const uint DisplayNameIndex = (uint)Property.Id.PersonDisplayNameIndex;
2634 /// Display contact ID that the person belongs to (projection)
2636 public const uint DisplayContactId = (uint)Property.Id.PersonDisplayContactId;
2638 /// Ringtone path of the person (projection)
2640 public const uint RingtonePath = (uint)Property.Id.PersonRingtone;
2642 /// Image thumbnail path of the person (projection)
2644 public const uint ThumbnailPath = (uint)Property.Id.PersonThumbnail;
2646 /// Vibration path of the person (projection)
2648 public const uint Vibration = (uint)Property.Id.PersonVibration;
2650 /// Message alert path of the person (projection)
2652 public const uint MessageAlert = (uint)Property.Id.PersonMessageAlert;
2654 /// The person is favorite or not
2656 public const uint IsFavorite = (uint)Property.Id.PersonIsFavorite;
2658 /// The person has phone number or not
2660 public const uint HasPhoneNumber = (uint)Property.Id.PersonHasPhoneNumber;
2662 /// The person has email or not
2664 public const uint HasEmail = (uint)Property.Id.PersonHasEmail;
2666 /// Email ID that the person belongs to
2668 public const uint EmailId = (uint)Property.Id.EmailId;
2670 /// Email type, refer to the Email.Types (projection)
2672 public const uint Type = (uint)Property.Id.EmailType;
2674 /// Custom mail type label, when the email type is Email.Types.Custom (projection)
2676 public const uint Label = (uint)Property.Id.EmailLabel;
2678 /// The email is default email or not
2680 public const uint IsPrimaryDefault = (uint)Property.Id.DataIsPrimaryDefault;
2684 public const uint Email = (uint)Property.Id.EmailEmail;
2686 /// keyword matched data type, refer to they Contact.DataType
2688 public const uint SnippetType = (uint)Property.Id.PersonSnippetType;
2690 /// keyword matched data string
2692 public const uint SnippetString = (uint)Property.Id.PersonSnippetString;
2696 /// Describes properties of a PersonGroupRelation record.
2698 /// <remarks>Read only view</remarks>
2699 /// <since_tizen> 4 </since_tizen>
2700 public static class PersonGroupRelation
2703 /// Identifier of this person group relation view
2705 public const string Uri = "tizen.contacts_view.person/simple_contact/group";
2707 /// DB record ID of the person
2709 public const uint PersonId = (uint)Property.Id.PersonId;
2711 /// Display name of the person
2713 public const uint DisplayName = (uint)Property.Id.PersonDisplayName;
2715 /// The first character of first string for grouping. This is normalized using ICU (projection)
2717 public const uint DisplayNameIndex = (uint)Property.Id.PersonDisplayNameIndex;
2719 /// Display contact ID that the person belongs to (projection)
2721 public const uint DisplayContactId = (uint)Property.Id.PersonDisplayContactId;
2723 /// Ringtone path of the person (projection)
2725 public const uint RingtonePath = (uint)Property.Id.PersonRingtone;
2727 /// Image thumbnail path of the person (projection)
2729 public const uint ThumbnailPath = (uint)Property.Id.PersonThumbnail;
2731 /// Vibration path of the person (projection)
2733 public const uint Vibration = (uint)Property.Id.PersonVibration;
2735 /// Message alert path of the person (projection)
2737 public const uint MessageAlert = (uint)Property.Id.PersonMessageAlert;
2739 /// Status of social account (projection)
2741 public const uint Status = (uint)Property.Id.PersonStatus;
2743 /// The person is favorite or not
2745 public const uint IsFavorite = (uint)Property.Id.PersonIsFavorite;
2747 /// The person has phone number or not
2749 public const uint HasPhoneNumber = (uint)Property.Id.PersonHasPhoneNumber;
2751 /// The person has email or not
2753 public const uint HasEmail = (uint)Property.Id.PersonHasEmail;
2755 /// Link count of contact records (projection)
2757 public const uint LinkCount = (uint)Property.Id.PersonLinkCount;
2759 /// AddressBook IDs that the person belongs to (projection)
2761 public const uint AddressBookIds = (uint)Property.Id.PersonAddressBookIds;
2763 /// AddressBook ID that the person belongs to
2765 public const uint AddressBookId = (uint)Property.Id.ContactAddressBookId;
2767 /// AddressBook name that the person belongs to
2769 public const uint AddressBookName = (uint)Property.Id.AddressBookName;
2771 /// AddressBook mode, refer to the AddressBook.Mode
2773 public const uint AddressBookMode = (uint)Property.Id.AddressBookMode;
2775 /// Group ID that the person belongs to
2777 public const uint GroupId = (uint)Property.Id.GroupRelationGroupId;
2779 /// Contact ID that the person belongs to (projection)
2781 public const uint ContactId = (uint)Property.Id.GroupRelationContactId;
2783 /// keyword matched data type, refer to they Contact.DataType
2785 public const uint SnippetType = (uint)Property.Id.PersonSnippetType;
2787 /// keyword matched data string
2789 public const uint SnippetString = (uint)Property.Id.PersonSnippetString;
2793 /// Describes properties of a PersonGroupAssigned record.
2795 /// <remarks>Read only view</remarks>
2796 /// <since_tizen> 4 </since_tizen>
2797 public static class PersonGroupAssigned
2800 /// Identifier of this person group assigned view
2802 public const string Uri = "tizen.contacts_view.person/simple_contact/group_assigned";
2804 /// DB record ID of the person
2806 public const uint PersonId = (uint)Property.Id.PersonId;
2808 /// Display name of the person
2810 public const uint DisplayName = (uint)Property.Id.PersonDisplayName;
2812 /// The first character of first string for grouping. This is normalized using ICU (projection)
2814 public const uint DisplayNameIndex = (uint)Property.Id.PersonDisplayNameIndex;
2816 /// Display contact ID that the person belongs to (projection)
2818 public const uint DisplayContactId = (uint)Property.Id.PersonDisplayContactId;
2820 /// Ringtone path of the person (projection)
2822 public const uint RingtonePath = (uint)Property.Id.PersonRingtone;
2824 /// Image thumbnail path of the person (projection)
2826 public const uint ThumbnailPath = (uint)Property.Id.PersonThumbnail;
2828 /// Vibration path of the person (projection)
2830 public const uint Vibration = (uint)Property.Id.PersonVibration;
2832 /// Message alert path of the person (projection)
2834 public const uint MessageAlert = (uint)Property.Id.PersonMessageAlert;
2836 /// Status of social account (projection)
2838 public const uint Status = (uint)Property.Id.PersonStatus;
2840 /// The person is favorite or not
2842 public const uint IsFavorite = (uint)Property.Id.PersonIsFavorite;
2844 /// The person has phone number or not
2846 public const uint HasPhoneNumber = (uint)Property.Id.PersonHasPhoneNumber;
2848 /// The person has email or not
2850 public const uint HasEmail = (uint)Property.Id.PersonHasEmail;
2852 /// Link count of contact records (projection)
2854 public const uint LinkCount = (uint)Property.Id.PersonLinkCount;
2856 /// AddressBook IDs that the linked person belongs to (projection)
2858 public const uint AddressBookIds = (uint)Property.Id.PersonAddressBookIds;
2860 /// AddressBook ID that the person belongs to
2862 public const uint AddressBookId = (uint)Property.Id.ContactAddressBookId;
2864 /// AddressBook mode, refer to the AddressBook.Mode
2866 public const uint AddressBookMode = (uint)Property.Id.AddressBookMode;
2868 /// Group ID that the person belongs to
2870 public const uint GroupId = (uint)Property.Id.GroupRelationGroupId;
2872 /// Contact ID that the person belongs to (projection)
2874 public const uint ContactId = (uint)Property.Id.GroupRelationContactId;
2876 /// keyword matched data type, refer to they Contact.DataType
2878 public const uint SnippetType = (uint)Property.Id.PersonSnippetType;
2880 /// keyword matched data string
2882 public const uint SnippetString = (uint)Property.Id.PersonSnippetString;
2886 /// Describes properties of a PersonGroupNotAssigned record.
2888 /// <remarks>Read only view</remarks>
2889 /// <since_tizen> 4 </since_tizen>
2890 public static class PersonGroupNotAssigned
2893 /// Identifier of this person group not assigned view
2895 public const string Uri = "tizen.contacts_view.person/simple_contact/group_not_assigned";
2897 /// DB record ID of the person
2899 public const uint PersonId = (uint)Property.Id.PersonId;
2901 /// Display name of the person
2903 public const uint DisplayName = (uint)Property.Id.PersonDisplayName;
2905 /// The first character of first string for grouping. This is normalized using ICU (projection)
2907 public const uint DisplayNameIndex = (uint)Property.Id.PersonDisplayNameIndex;
2909 /// Display contact ID that the person belongs to (projection)
2911 public const uint DisplayContactId = (uint)Property.Id.PersonDisplayContactId;
2913 /// Ringtone path of the person (projection)
2915 public const uint RingtonePath = (uint)Property.Id.PersonRingtone;
2917 /// Image thumbnail path of the person (projection)
2919 public const uint ThumbnailPath = (uint)Property.Id.PersonThumbnail;
2921 /// Vibration path of the person (projection)
2923 public const uint Vibration = (uint)Property.Id.PersonVibration;
2925 /// Message alert path of the person (projection)
2927 public const uint MessageAlert = (uint)Property.Id.PersonMessageAlert;
2929 /// Status of social account (projection)
2931 public const uint Status = (uint)Property.Id.PersonStatus;
2933 /// The person is favorite or not
2935 public const uint IsFavorite = (uint)Property.Id.PersonIsFavorite;
2937 /// The person has phone number or not
2939 public const uint HasPhoneNumber = (uint)Property.Id.PersonHasPhoneNumber;
2941 /// The person has email or not
2943 public const uint HasEmail = (uint)Property.Id.PersonHasEmail;
2945 /// Link count of contact records (projection)
2947 public const uint LinkCount = (uint)Property.Id.PersonLinkCount;
2949 /// AddressBook IDs that the linked person belongs to (projection)
2951 public const uint AddressBookIds = (uint)Property.Id.PersonAddressBookIds;
2953 /// AddressBook ID that the person belongs to
2955 public const uint AddressBookId = (uint)Property.Id.ContactAddressBookId;
2957 /// AddressBook mode, refer to the AddressBook.Mode
2959 public const uint AddressBookMode = (uint)Property.Id.AddressBookMode;
2961 /// Contact ID that the person belongs to (projection)
2963 public const uint ContactId = (uint)Property.Id.ContactId;
2965 /// keyword matched data type, refer to they Contact.DataType
2967 public const uint SnippetType = (uint)Property.Id.PersonSnippetType;
2969 /// keyword matched data string
2971 public const uint SnippetString = (uint)Property.Id.PersonSnippetString;
2975 /// Describes properties of a PersonPhoneLog record.
2977 /// <remarks>Read only view</remarks>
2978 /// <since_tizen> 4 </since_tizen>
2979 public static class PersonPhoneLog
2982 /// Identifier of this phone log view
2984 public const string Uri = "tizen.contacts_view.person/simple_contact/phonelog";
2986 /// DB record ID of the person
2988 public const uint PersonId = (uint)Property.Id.PersonId;
2990 /// Display name of the person
2992 public const uint DisplayName = (uint)Property.Id.PersonDisplayName;
2994 /// Image thumbnail path of the person (projection)
2996 public const uint ThumbnailPath = (uint)Property.Id.PersonThumbnail;
2998 /// DB record ID of phone log
3000 public const uint LogId = (uint)Property.Id.PhonelogId;
3002 /// Number or Email that the phone log displays
3004 public const uint Address = (uint)Property.Id.PhonelogAddress;
3006 /// Number or Email type (projection)
3008 public const uint AddressType = (uint)Property.Id.DataData1;
3010 /// Call end time. The value means number of seconds since 1970-01-01 00:00:00 (UTC)
3012 public const uint LogTime = (uint)Property.Id.PhonelogLogTime;
3014 /// Log type, refer to the PhoneLog.Types
3016 public const uint LogType = (uint)Property.Id.PhonelogLogType;
3018 /// You can set the related integer data (e.g. message_id, email_id or duration(seconds) of call) (projection)
3020 public const uint ExtraData1 = (uint)Property.Id.PhonelogExtraData1;
3022 /// You can set the related string data (e.g. short message, subject) (projection)
3024 public const uint ExtraData2 = (uint)Property.Id.PhonelogExtraData2;
3026 /// You can only use this property for search filter
3028 public const uint NormalizedAddress = (uint)Property.Id.PhonelogNormalizedAddress;
3030 /// You can only use this property for search filter
3032 public const uint CleanedAddress = (uint)Property.Id.PhonelogCleanedAddress;
3034 /// You can only use this property for search filter
3036 public const uint AddressFilter = (uint)Property.Id.PhonelogAddressFilter;
3038 /// It is related to the Sim slot number. SimSlotNo 0 means first Sim card, SimSlotNo 1 means second Sim.
3040 public const uint SimSlotNo = (uint)Property.Id.PhonelogSimSlotNo;
3044 /// Describes properties of a Person Usage record.
3046 /// <remarks>Read only view</remarks>
3047 /// <since_tizen> 4 </since_tizen>
3048 public static class PersonUsage
3051 /// Identifier of this person usage view
3053 public const string Uri = "tizen.contacts_view.person/usag";
3055 /// DB record ID of the person
3057 public const uint PersonId = (uint)Property.Id.PersonId;
3059 /// Display name of the person
3061 public const uint DisplayName = (uint)Property.Id.PersonDisplayName;
3063 /// The first character of first string for grouping. This is normalized using ICU (projection)
3065 public const uint DisplayNameIndex = (uint)Property.Id.PersonDisplayNameIndex;
3067 /// Display contact ID that the person belongs to (projection)
3069 public const uint DisplayContactId = (uint)Property.Id.PersonDisplayContactId;
3071 /// Ringtone path of the person (projection)
3073 public const uint RingtonePath = (uint)Property.Id.PersonRingtone;
3075 /// Image thumbnail path of the person (projection)
3077 public const uint ThumbnailPath = (uint)Property.Id.PersonThumbnail;
3079 /// Vibration path of the person (projection)
3081 public const uint Vibration = (uint)Property.Id.PersonVibration;
3083 /// Message alert path of the person (projection)
3085 public const uint MessageAlert = (uint)Property.Id.PersonMessageAlert;
3087 /// The person is favorite or not
3089 public const uint IsFavorite = (uint)Property.Id.PersonIsFavorite;
3091 /// The person has phone number or not
3093 public const uint HasPhoneNumber = (uint)Property.Id.PersonHasPhoneNumber;
3095 /// The person has email or not
3097 public const uint HasEmail = (uint)Property.Id.PersonHasEmail;
3099 /// Usage type, refer to the Type
3101 public const uint UsageType = (uint)Property.Id.PersonUsageType;
3103 /// Usage number of person
3105 public const uint TimesUsed = (uint)Property.Id.PersonTimesUsed;
3108 /// Enumeration for Person usage type.
3110 /// <since_tizen> 4 </since_tizen>
3122 /// Outgoing message
3134 /// Incoming message
3161 /// Describes properties of a ContactNumber record.
3163 /// <remarks>Read only view</remarks>
3164 /// <since_tizen> 4 </since_tizen>
3165 public static class ContactNumber
3168 /// Identifier of this contacts number view
3170 public const string Uri = "tizen.contacts_view.simple_contact/number";
3172 /// Contact ID that the number belongs to
3174 public const uint ContactId = (uint)Property.Id.ContactId;
3176 /// Display name of contact that the number belongs to
3178 public const uint DisplayName = (uint)Property.Id.ContactDisplayName;
3180 /// The source type of display name, refer to the Contact.DisplayNameSourceType (projection)
3182 public const uint DisplaySourceType = (uint)Property.Id.ContactDisplaySourceDataId;
3184 /// AddressBook ID that the number belongs to
3186 public const uint AddressBookId = (uint)Property.Id.ContactAddressBookId;
3188 /// Person ID that the number belongs to
3190 public const uint PersonId = (uint)Property.Id.ContactPersonId;
3192 /// Ringtone path that the number belongs to (projection)
3194 public const uint RingtonePath = (uint)Property.Id.ContactRingtone;
3196 /// Image thumbnail path that the number belongs to (projection)
3198 public const uint ThumbnailPath = (uint)Property.Id.ContactThumbnail;
3200 /// DB record ID of the number
3202 public const uint NumberId = (uint)Property.Id.NumberId;
3204 /// Number type, refer to the Number.Types (projection)
3206 public const uint Type = (uint)Property.Id.NumberType;
3208 /// Custom number type label, when the number type is Number.Types.Custom (projection)
3210 public const uint Label = (uint)Property.Id.NumberLabel;
3212 /// The number is default number or not
3214 public const uint IsDefault = (uint)Property.Id.NumberIsDefault;
3218 public const uint Number = (uint)Property.Id.NumberNumber;
3220 /// 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
3222 public const uint NumberFilter = (uint)Property.Id.NumberNumberFilter;
3224 /// You can only use this property for search filter
3226 public const uint NormalizedNumber = (uint)Property.Id.NumberNormalizedNumber;
3228 /// You can only use this property for search filter
3230 public const uint CleanedNumber = (uint)Property.Id.NumberCleanedNumber;
3234 /// Describes properties of a ContactEmail record.
3236 /// <remarks>Read only view</remarks>
3237 /// <since_tizen> 4 </since_tizen>
3238 public static class ContactEmail
3241 /// Identifier of this contacts email view
3243 public const string Uri = "tizen.contacts_view.simple_contact/email";
3245 /// Contact ID that the number belongs to
3247 public const uint ContactId = (uint)Property.Id.ContactId;
3249 /// Display name of contact that the number belongs to
3251 public const uint DisplayName = (uint)Property.Id.ContactDisplayName;
3253 /// The source type of display name, refer to the Contact.DisplayNameSourceType (projection)
3255 public const uint DisplaySourceType = (uint)Property.Id.ContactDisplaySourceDataId;
3257 /// AddressBook ID that the number belongs to
3259 public const uint AddressBookId = (uint)Property.Id.ContactAddressBookId;
3261 /// Person ID that the number belongs to
3263 public const uint PersonId = (uint)Property.Id.ContactPersonId;
3265 /// Ringtone path that the number belongs to (projection)
3267 public const uint RingtonePath = (uint)Property.Id.ContactRingtone;
3269 /// Image thumbnail path that the number belongs to (projection)
3271 public const uint ThumbnailPath = (uint)Property.Id.ContactThumbnail;
3273 /// DB record ID of the email
3275 public const uint EmailId = (uint)Property.Id.EmailId;
3277 /// Email type, refer to the Email.Types (projection)
3279 public const uint Type = (uint)Property.Id.EmailType;
3281 /// Custom mail type label, when the email type is Email.Types.Custom (projection)
3283 public const uint Label = (uint)Property.Id.EmailLabel;
3285 /// Email is default email or not
3287 public const uint IsDefault = (uint)Property.Id.EmailIsDefault;
3291 public const uint Email = (uint)Property.Id.EmailEmail;
3295 /// Describes properties of a ContactGroupRelation record.
3297 /// <remarks>Read only view</remarks>
3298 /// <since_tizen> 4 </since_tizen>
3299 public static class ContactGroupRelation
3302 /// Identifier of this contact group relation view
3304 public const string Uri = "tizen.contacts_view.simple_contact/group";
3306 /// Contact ID that the number belongs to
3308 public const uint ContactId = (uint)Property.Id.ContactId;
3310 /// Display name of contact that the number belongs to
3312 public const uint DisplayName = (uint)Property.Id.ContactDisplayName;
3314 /// The source type of display name, refer to the Contact.DisplayNameSourceType (projection)
3316 public const uint DisplaySourceType = (uint)Property.Id.ContactDisplaySourceDataId;
3318 /// AddressBook ID that the number belongs to
3320 public const uint AddressBookId = (uint)Property.Id.ContactAddressBookId;
3322 /// Person ID that the number belongs to
3324 public const uint PersonId = (uint)Property.Id.ContactPersonId;
3326 /// Ringtone path that the number belongs to (projection)
3328 public const uint RingtonePath = (uint)Property.Id.ContactRingtone;
3330 /// Image thumbnail path that the number belongs to (projection)
3332 public const uint ThumbnailPath = (uint)Property.Id.ContactThumbnail;
3334 /// DB record ID of the group relation
3336 public const uint GroupId = (uint)Property.Id.GroupRelationGroupId;
3338 /// Group name (projection)
3340 public const uint GroupName = (uint)Property.Id.GroupRelationGroupName;
3344 /// Describes properties of a Phone Log Statistics record.
3346 /// <remarks>Read only view</remarks>
3347 /// <since_tizen> 4 </since_tizen>
3348 public static class PhoneLogStatistics
3351 /// Identifier of this log statistics view
3353 public const string Uri = "tizen.contacts_view.phonelog_stat";
3355 /// Log count (projection)
3357 public const uint LogCount = (uint)Property.Id.PhonelogStatLogCount;
3359 /// Log type, see the contacts_phone_log_type_e
3361 public const uint LogType = (uint)Property.Id.PhonelogStatLogType;
3363 /// 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()
3365 public const uint SimSlotNo = (uint)Property.Id.PhonelogStatSimSlotNo;