2 * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the License);
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an AS IS BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 using System.Collections.Generic;
20 namespace Tizen.Pims.Contacts
23 /// This class provides information about views with properties.
26 /// A view is a class which describes properties of a record. A record can have basic properties of five types: integer, string, boolean, long, double.
28 public static class ContactsViews
30 private const uint PropertyAddressbook = 0x00100000;
31 private const uint PropertyGroup = 0x00200000;
32 private const uint PropertyPerson = 0x00300000;
33 private const uint PropertyData = 0x00600000;
34 private const uint PropertySpeedDial = 0x00700000;
35 private const uint PropertyPhonelog = 0x00800000;
36 private const uint PropertyUpdateInfo = 0x00900000;
37 private const uint PropertyPhonelogStat = 0x00B00000;
39 private const uint PropertyContact = 0x01000000;
40 private const uint PropertyName = 0x01100000;
41 private const uint PropertyNumber = 0x01200000;
42 private const uint PropertyEmail = 0x01300000;
43 private const uint PropertyAddress = 0x01400000;
44 private const uint PropertyUrl = 0x01500000;
45 private const uint PropertyEvent = 0x01600000;
46 private const uint PropertyGroupRelation = 0x01700000;
47 private const uint PropertyRelationship = 0x01800000;
48 private const uint PropertyCompany = 0x01900000;
49 private const uint PropertyNickname = 0x01A00000;
50 private const uint PropertyMessenger = 0x01B00000;
51 private const uint PropertyNote = 0x01C00000;
52 private const uint PropertyProfile = 0x01D00000;
53 private const uint PropertyImage = 0x01E00000;
54 private const uint PropertyExtension = 0x01F00000;
55 private const uint PropertyMyProfile = 0x02000000;
56 private const uint PropertyActivityPhoto = 0x02100000;
57 private const uint PropertySip = 0x02200000;
59 /* data_type mask 0x000FF000 */
60 private const uint DataTypeBool = 0x00010000;
61 private const uint DataTypeInt = 0x00020000;
62 private const uint DataTypeLong = 0x00030000;
63 private const uint DataTypeString = 0x00040000;
64 private const uint DataTypeDouble = 0x00050000;
65 private const uint DataTypeRecord = 0x00060000;
67 private const uint ReadOnly = 0x00001000;
69 private enum PropertyIds : uint
72 AddressbookId = (PropertyAddressbook | DataTypeInt | ReadOnly),
73 AddressbookAccountId = (PropertyAddressbook | DataTypeInt) + 1,
74 AddressbookName = (PropertyAddressbook | DataTypeString) + 2,
75 AddressbookMode = (PropertyAddressbook | DataTypeInt) + 3,
78 GroupId = (PropertyGroup | DataTypeInt | ReadOnly),
79 GroupAddressbookId = (PropertyGroup | DataTypeInt) + 1,
80 GroupName = (PropertyGroup | DataTypeString) + 2,
81 GroupRingtone = (PropertyGroup | DataTypeString) + 3,
82 GroupImage = (PropertyGroup | DataTypeString) + 4,
83 GroupVibration = (PropertyGroup | DataTypeString) + 5,
84 GroupExtraData = (PropertyGroup | DataTypeString) + 6,
85 GroupIsReadOnly = (PropertyGroup | DataTypeBool) + 7,
86 GroupMessageAlert = (PropertyGroup | DataTypeString) + 8,
89 PersonId = (PropertyPerson | DataTypeInt | ReadOnly),
90 PersonDisplayName = (PropertyPerson | DataTypeString | ReadOnly) + 1,
91 PersonDisplayContactId = (PropertyPerson | DataTypeInt) + 2,
92 PersonRingtone = (PropertyPerson | DataTypeString) + 3,
93 PersonThumbnail = (PropertyPerson | DataTypeString | ReadOnly) + 4,
94 PersonVibration = (PropertyPerson | DataTypeString) + 5,
95 PersonIsFavorite = (PropertyPerson | DataTypeBool) + 6,
96 PersonFavoritePriority = (PropertyPerson | DataTypeDouble | ReadOnly) + 7,
97 PersonLinkCount = (PropertyPerson | DataTypeInt | ReadOnly) + 8,
98 PersonAddressbookIds = (PropertyPerson | DataTypeString | ReadOnly) + 9,
99 PersonHasPhonenumber = (PropertyPerson | DataTypeBool | ReadOnly) + 10,
100 PersonHasEmail = (PropertyPerson | DataTypeBool | ReadOnly) + 11,
101 PersonDisplayNameIndex = (PropertyPerson | DataTypeString | ReadOnly) + 12,
102 PersonStatus = (PropertyPerson | DataTypeString | ReadOnly) + 13,
103 PersonMessageAlert = (PropertyPerson | DataTypeString) + 14,
104 PersonSnippetType = (PropertyPerson | DataTypeInt | ReadOnly) + 15,
105 PersonSnippetString = (PropertyPerson | DataTypeString | ReadOnly) + 16,
108 PersonUsageType = (PropertyPerson | DataTypeInt) + 100,
109 PersonTimesUsed = (PropertyPerson | DataTypeInt) + 101,
111 /* simple contact : read only */
113 ContactId = (PropertyContact | DataTypeInt | ReadOnly),
114 ContactDisplayName = (PropertyContact | DataTypeString | ReadOnly) + 1,
115 ContactDisplaySourceDataId = (PropertyContact | DataTypeInt | ReadOnly) + 2,
116 ContactAddressbookId = (PropertyContact | DataTypeInt) + 3,
117 ContactRingtone = (PropertyContact | DataTypeString) + 4,
118 ContactImage = (PropertyContact | DataTypeRecord) + 5,
119 ContactThumbnail = (PropertyContact | DataTypeString | ReadOnly) + 6,
120 ContactIsFavorite = (PropertyContact | DataTypeBool) + 7,
121 ContactHasPhonenumber = (PropertyContact | DataTypeBool | ReadOnly) + 8,
122 ContactHasEmail = (PropertyContact | DataTypeBool | ReadOnly) + 9,
123 ContactPersonId = (PropertyContact | DataTypeInt) + 10,
124 ContactUid = (PropertyContact | DataTypeString) + 11,
125 ContactVibration = (PropertyContact | DataTypeString) + 12,
126 ContactChangedTime = (PropertyContact | DataTypeInt | ReadOnly) + 13,
127 ContactName = (PropertyContact | DataTypeRecord) + 14,
128 ContactCompany = (PropertyContact | DataTypeRecord) + 15,
129 ContactNote = (PropertyContact | DataTypeRecord) + 16,
130 ContactNumber = (PropertyContact | DataTypeRecord) + 17,
131 ContactEmail = (PropertyContact | DataTypeRecord) + 18,
132 ContactEvent = (PropertyContact | DataTypeRecord) + 19,
133 ContactMessenger = (PropertyContact | DataTypeRecord) + 20,
134 ContactAddress = (PropertyContact | DataTypeRecord) + 21,
135 ContactUrl = (PropertyContact | DataTypeRecord) + 22,
136 ContactNickname = (PropertyContact | DataTypeRecord) + 23,
137 ContactProfile = (PropertyContact | DataTypeRecord) + 24,
138 ContactRelationship = (PropertyContact | DataTypeRecord) + 25,
139 ContactGroupRelation = (PropertyContact | DataTypeRecord) + 26,
140 ContactExtension = (PropertyContact | DataTypeRecord) + 27,
141 ContactLinkMode = (PropertyContact | DataTypeInt) + 28,
142 ContactMessageAlert = (PropertyContact | DataTypeString) + 29,
143 ContactSip = (PropertyContact | DataTypeRecord) + 30,
146 MyProfileId = (PropertyMyProfile | DataTypeInt | ReadOnly),
147 MyProfileDisplayName = (PropertyMyProfile | DataTypeString | ReadOnly) + 1,
148 MyProfileAddressbookId = (PropertyMyProfile | DataTypeInt) + 2,
149 MyProfileImage = (PropertyMyProfile | DataTypeRecord) + 3,
150 MyProfileThumbnail = (PropertyMyProfile | DataTypeString | ReadOnly) + 4,
151 MyProfileUid = (PropertyMyProfile | DataTypeString) + 5,
152 MyProfileChangedTime = (PropertyMyProfile | DataTypeInt) + 6,
153 MyProfileName = (PropertyMyProfile | DataTypeRecord) + 7,
154 MyProfileCompany = (PropertyMyProfile | DataTypeRecord) + 8,
155 MyProfileNote = (PropertyMyProfile | DataTypeRecord) + 9,
156 MyProfileNumber = (PropertyMyProfile | DataTypeRecord) + 10,
157 MyProfileEmail = (PropertyMyProfile | DataTypeRecord) + 11,
158 MyProfileEvent = (PropertyMyProfile | DataTypeRecord) + 12,
159 MyProfileMessenger = (PropertyMyProfile | DataTypeRecord) + 13,
160 MyProfileAddress = (PropertyMyProfile | DataTypeRecord) + 14,
161 MyProfileUrl = (PropertyMyProfile | DataTypeRecord) + 15,
162 MyProfileNickname = (PropertyMyProfile | DataTypeRecord) + 16,
163 MyProfileProfile = (PropertyMyProfile | DataTypeRecord) + 17,
164 MyProfileRelationship = (PropertyMyProfile | DataTypeRecord) + 18,
165 MyProfileExtension = (PropertyMyProfile | DataTypeRecord) + 19,
166 MyProfileSip = (PropertyMyProfile | DataTypeRecord) + 20,
169 DataId = (PropertyData | DataTypeInt),
170 DataContactId = (PropertyData | DataTypeInt) + 1,
171 DataType = (PropertyData | DataTypeInt) + 2,
172 DataIsPrimaryDefault = (PropertyData | DataTypeBool) + 3,
173 DataIsDefault = (PropertyData | DataTypeBool) + 4,
174 DataData1 = (PropertyData | DataTypeInt) + 5,
175 DataData2 = (PropertyData | DataTypeString) + 6,
176 DataData3 = (PropertyData | DataTypeString) + 7,
177 DataData4 = (PropertyData | DataTypeString) + 8,
178 DataData5 = (PropertyData | DataTypeString) + 9,
179 DataData6 = (PropertyData | DataTypeString) + 10,
180 DataData7 = (PropertyData | DataTypeString) + 11,
181 DataData8 = (PropertyData | DataTypeString) + 12,
182 DataData9 = (PropertyData | DataTypeString) + 13,
183 DataData10 = (PropertyData | DataTypeString) + 14,
186 NameId = (PropertyName | DataTypeInt | ReadOnly),
187 NameContactId = (PropertyName | DataTypeInt) + 1,
188 NameFirst = (PropertyName | DataTypeString) + 2,
189 NameLast = (PropertyName | DataTypeString) + 3,
190 NameAddition = (PropertyName | DataTypeString) + 4,
191 NameSuffix = (PropertyName | DataTypeString) + 5,
192 NamePrefix = (PropertyName | DataTypeString) + 6,
193 NamePhoneticFirst = (PropertyName | DataTypeString) + 7,
194 NamePhoneticMiddle = (PropertyName | DataTypeString) + 8,
195 NamePhoneticLast = (PropertyName | DataTypeString) + 9,
198 NumberId = (PropertyNumber | DataTypeInt | ReadOnly),
199 NumberContactId = (PropertyNumber | DataTypeInt) + 1,
200 NumberType = (PropertyNumber | DataTypeInt) + 2,
201 NumberLabel = (PropertyNumber | DataTypeString) + 3,
202 NumberIsDefault = (PropertyNumber | DataTypeBool) + 4,
203 NumberNumber = (PropertyNumber | DataTypeString) + 5,
204 NumberNumberFilter = (PropertyNumber | DataTypeString) + 6,
205 NumberNormalizedNumber = (PropertyNumber | DataTypeString | ReadOnly) + 7,
206 NumberCleanedNumber = (PropertyNumber | DataTypeString | ReadOnly) + 8,
209 EmailId = (PropertyEmail | DataTypeInt | ReadOnly),
210 EmailContactId = (PropertyEmail | DataTypeInt) + 1,
211 EmailType = (PropertyEmail | DataTypeInt) + 2,
212 EmailLabel = (PropertyEmail | DataTypeString) + 3,
213 EmailIsDefault = (PropertyEmail | DataTypeBool) + 4,
214 EmailEmail = (PropertyEmail | DataTypeString) + 5,
216 /* contact_address */
217 AddressId = (PropertyAddress | DataTypeInt | ReadOnly),
218 AddressContactId = (PropertyAddress | DataTypeInt) + 1,
219 AddressType = (PropertyAddress | DataTypeInt) + 2,
220 AddressLabel = (PropertyAddress | DataTypeString) + 3,
221 AddressPostbox = (PropertyAddress | DataTypeString) + 4,
222 AddressPostalCode = (PropertyAddress | DataTypeString) + 5,
223 AddressRegion = (PropertyAddress | DataTypeString) + 6,
224 AddressLocality = (PropertyAddress | DataTypeString) + 7,
225 AddressStreet = (PropertyAddress | DataTypeString) + 8,
226 AddressCountry = (PropertyAddress | DataTypeString) + 9,
227 AddressExtended = (PropertyAddress | DataTypeString) + 10,
228 AddressIsDefault = (PropertyAddress | DataTypeBool) + 11,
231 UrlId = (PropertyUrl | DataTypeInt | ReadOnly),
232 UrlContactId = (PropertyUrl | DataTypeInt) + 1,
233 UrlType = (PropertyUrl | DataTypeInt) + 2,
234 UrlLabel = (PropertyUrl | DataTypeString) + 3,
235 UrlUrl = (PropertyUrl | DataTypeString) + 4,
238 EventId = (PropertyEvent | DataTypeInt | ReadOnly),
239 EventContactId = (PropertyEvent | DataTypeInt) + 1,
240 EventType = (PropertyEvent | DataTypeInt) + 2,
241 EventLabel = (PropertyEvent | DataTypeString) + 3,
242 EventDate = (PropertyEvent | DataTypeInt) + 4,
243 EventCalendarType = (PropertyEvent | DataTypeInt) + 5,
244 EventIsLeapMonth = (PropertyEvent | DataTypeBool) + 6,
246 /* contact_grouprelation */
247 GroupRelationId = (PropertyGroupRelation | DataTypeInt | ReadOnly),
248 GroupRelationGroupId = (PropertyGroupRelation | DataTypeInt) + 1,
249 GroupRelationContactId = (PropertyGroupRelation | DataTypeInt) + 2,
250 GroupRelationGroupName = (PropertyGroupRelation | DataTypeString) + 3,
252 /* contact_relationship */
253 RelationshipId = (PropertyRelationship | DataTypeInt | ReadOnly),
254 RelationshipContactId = (PropertyRelationship | DataTypeInt) + 1,
255 RelationshipType = (PropertyRelationship | DataTypeInt) + 2,
256 RelationshipLabel = (PropertyRelationship | DataTypeString) + 3,
257 RelationshipName = (PropertyRelationship | DataTypeString) + 4,
260 ImageId = (PropertyImage | DataTypeInt | ReadOnly),
261 ImageContactId = (PropertyImage | DataTypeInt) + 1,
262 ImageType = (PropertyImage | DataTypeInt) + 2,
263 ImageLabel = (PropertyImage | DataTypeString) + 3,
264 ImagePath = (PropertyImage | DataTypeString) + 4,
265 ImageIsDefault = (PropertyImage | DataTypeBool) + 5,
267 /* contact_company */
268 CompanyId = (PropertyCompany | DataTypeInt | ReadOnly),
269 CompanyContactId = (PropertyCompany | DataTypeInt) + 1,
270 CompanyType = (PropertyCompany | DataTypeInt) + 2,
271 CompanyLabel = (PropertyCompany | DataTypeString) + 3,
272 CompanyName = (PropertyCompany | DataTypeString) + 4,
273 CompanyDepartment = (PropertyCompany | DataTypeString) + 5,
274 CompanyJobTitle = (PropertyCompany | DataTypeString) + 6,
275 CompanyRole = (PropertyCompany | DataTypeString) + 7,
276 CompanyAssistantName = (PropertyCompany | DataTypeString) + 8,
277 CompanyLogo = (PropertyCompany | DataTypeString) + 9,
278 CompanyLocation = (PropertyCompany | DataTypeString) + 10,
279 CompanyDescription = (PropertyCompany | DataTypeString) + 11,
280 CompanyPhoneticName = (PropertyCompany | DataTypeString) + 12,
282 /* contact_nickname */
283 NicknameId = (PropertyNickname | DataTypeInt | ReadOnly),
284 NicknameContactId = (PropertyNickname | DataTypeInt) + 1,
285 NicknameName = (PropertyNickname | DataTypeString) + 2,
287 /* contact_messenger */
288 MessengerId = (PropertyMessenger | DataTypeInt | ReadOnly),
289 MessengerContactId = (PropertyMessenger | DataTypeInt) + 1,
290 MessengerType = (PropertyMessenger | DataTypeInt) + 2,
291 MessengerLabel = (PropertyMessenger | DataTypeString) + 3,
292 MessengerIMId = (PropertyMessenger | DataTypeString) + 4,
295 NoteId = (PropertyNote | DataTypeInt | ReadOnly),
296 NoteContactId = (PropertyNote | DataTypeInt) + 1,
297 NoteNote = (PropertyNote | DataTypeString) + 2,
300 SipId = (PropertySip | DataTypeInt | ReadOnly),
301 SipContactId = (PropertySip | DataTypeInt) + 1,
302 SipAddress = (PropertySip | DataTypeString) + 2,
303 SipType = (PropertySip | DataTypeInt) + 3,
304 SipLabel = (PropertySip | DataTypeString) + 4,
306 /* contact_profile */
307 ProfileId = (PropertyProfile | DataTypeInt | ReadOnly),
308 ProfileContactId = (PropertyProfile | DataTypeInt) + 1,
309 ProfileUid = (PropertyProfile | DataTypeString) + 2,
310 ProfileText = (PropertyProfile | DataTypeString) + 3,
311 ProfileOrder = (PropertyProfile | DataTypeInt) + 4,
312 ProfileServiceOperation = (PropertyProfile | DataTypeString) + 5,
313 ProfileMIME = (PropertyProfile | DataTypeString) + 6,
314 ProfileAppId = (PropertyProfile | DataTypeString) + 7,
315 ProfileUri = (PropertyProfile | DataTypeString) + 8,
316 ProfileCategory = (PropertyProfile | DataTypeString) + 9,
317 ProfileExtraData = (PropertyProfile | DataTypeString) + 10,
319 ExtensionId = (PropertyExtension | DataTypeInt | ReadOnly),
320 ExtensionContactId = (PropertyExtension | DataTypeInt) +1,
321 ExtensionData1 = (PropertyExtension | DataTypeInt) +2,
322 ExtensionData2 = (PropertyExtension | DataTypeString) +3,
323 ExtensionData3 = (PropertyExtension | DataTypeString) +4,
324 ExtensionData4 = (PropertyExtension | DataTypeString) +5,
325 ExtensionData5 = (PropertyExtension | DataTypeString) +6,
326 ExtensionData6 = (PropertyExtension | DataTypeString) +7,
327 ExtensionData7 = (PropertyExtension | DataTypeString) +8,
328 ExtensionData8 = (PropertyExtension | DataTypeString) +9,
329 ExtensionData9 = (PropertyExtension | DataTypeString) +10,
330 ExtensionData10 = (PropertyExtension | DataTypeString) +11,
331 ExtensionData11 = (PropertyExtension | DataTypeString) +12,
332 ExtensionData12 = (PropertyExtension | DataTypeString) +13,
335 SpeedDialDialNumber = (PropertySpeedDial | DataTypeInt),
336 SpeedDialNumberId = (PropertySpeedDial | DataTypeInt) +1,
337 SpeedDialNumber = (PropertySpeedDial | DataTypeString | ReadOnly) +2,
338 SpeedDialNumberLabel = (PropertySpeedDial | DataTypeString | ReadOnly) +3,
339 SpeedDialNumberType = (PropertySpeedDial | DataTypeInt | ReadOnly) +4,
340 SpeedDialPersonId = (PropertySpeedDial | DataTypeInt | ReadOnly) +5,
341 SpeedDialDisplayName = (PropertySpeedDial | DataTypeString | ReadOnly) +6,
342 SpeedDialThumbnail = (PropertySpeedDial | DataTypeString | ReadOnly) +7,
343 SpeedDialNormalizedNumber = (PropertySpeedDial | DataTypeString | ReadOnly) +8,
344 SpeedDialCleanedNumber = (PropertySpeedDial | DataTypeString | ReadOnly) +9,
345 SpeedDialNumberFilter = (PropertySpeedDial | DataTypeString | ReadOnly) +10,
348 PhonelogId = (PropertyPhonelog | DataTypeInt | ReadOnly),
349 PhonelogPersonId = (PropertyPhonelog | DataTypeInt) + 1,
350 PhonelogAddress = (PropertyPhonelog | DataTypeString) + 2,
351 PhonelogLogTime = (PropertyPhonelog | DataTypeInt) + 3,
352 PhonelogLogType = (PropertyPhonelog | DataTypeInt) + 4,
353 PhonelogExtraData1 = (PropertyPhonelog | DataTypeInt) + 5, /* duration, message_id, email_id */
354 PhonelogExtraData2 = (PropertyPhonelog | DataTypeString) + 6, /* short message, subject */
355 PhonelogNormalizedAddress = (PropertyPhonelog | DataTypeString | ReadOnly) + 7, /* for search by calllog number */
356 PhonelogCleanedAddress = (PropertyPhonelog | DataTypeString | ReadOnly) + 8, /* for search by calllog number */
357 PhonelogAddressFilter = (PropertyPhonelog | DataTypeString | ReadOnly) + 9, /* for search by calllog number */
358 PhonelogSIMSlotNo = (PropertyPhonelog | DataTypeInt) + 10,
361 PhonelogStatLogCount = (PropertyPhonelogStat | DataTypeInt | ReadOnly),
362 PhonelogStatLogType = (PropertyPhonelogStat | DataTypeInt | ReadOnly) + 1,
363 PhonelogStatSIMSlotNo = (PropertyPhonelogStat | DataTypeInt | ReadOnly) + 2,
365 /* updated_info : read only */
366 UpdateInfoId = (PropertyUpdateInfo | DataTypeInt),
367 UpdateInfoAddressbookId = (PropertyUpdateInfo | DataTypeInt) +1,
368 UpdateInfoType = (PropertyUpdateInfo | DataTypeInt) +2,
369 UpdateInfoVersion = (PropertyUpdateInfo | DataTypeInt) +3,
370 UpdateInfoImageChanged = (PropertyUpdateInfo | DataTypeBool) +4,
371 UpdateInfoLastChangedType = (PropertyUpdateInfo | DataTypeInt)+5, /* now, it is used for _contacts_my_profile_updated_info */
375 /// Enumeration for contact change state.
377 public enum ChangeTypes
393 internal const uint AverageSizeOfRecord = 120; /* average size of person record */
395 public static class Addressbook
398 /// Identifier of this contacts addressbook view
400 public const string Uri = "tizen.contacts_view.addressbook";
402 /// integer, read only, DB record ID of the addressbook
404 public const uint Id = (uint)PropertyIds.AddressbookId;
406 /// integer, read/write once, Account ID that the addressbook belongs to
408 public const uint AccountId = (uint)PropertyIds.AddressbookAccountId;
410 /// string, read/write, It cannot be NULL. Duplicate names are not allowed.
412 public const uint Name = (uint)PropertyIds.AddressbookName;
414 /// integer, read/write, Addressbook mode, refer to the Modes
416 public const uint Mode = (uint)PropertyIds.AddressbookMode;
419 /// Enumeration for Address book mode.
424 /// All module can read and write contacts of this address_book
428 /// All module can only read contacts of this address_book
434 public static class Group
437 /// Identifier of this contacts group view
439 public const string Uri = "tizen.contacts_view.group";
441 /// DB record ID of the group
443 public const uint Id = (uint)PropertyIds.GroupId;
445 /// Addressbook ID that the group belongs to
447 public const uint AddressbookId = (uint)PropertyIds.GroupAddressbookId;
451 public const uint Name = (uint)PropertyIds.GroupName;
453 /// Ringtone path of the group
455 public const uint RingtonePath = (uint)PropertyIds.GroupRingtone;
457 /// Image path of the group
459 public const uint ImagePath = (uint)PropertyIds.GroupImage;
461 /// Vibration path of the group
463 public const uint Vibration = (uint)PropertyIds.GroupVibration;
465 /// Extra data for default group name
467 public const uint ExtraData = (uint)PropertyIds.GroupExtraData;
469 /// The group is read only or not
471 public const uint IsReadOnly = (uint)PropertyIds.GroupIsReadOnly;
473 /// Message alert path of the group
475 public const uint MessageAlert = (uint)PropertyIds.GroupMessageAlert;
478 public static class Person
481 /// Identifier of this contacts person view
483 public const string Uri = "tizen.contacts_view.person";
485 /// DB record ID of the person
487 public const uint Id = (uint)PropertyIds.PersonId;
489 /// Display name of the person
491 public const uint DisplayName = (uint)PropertyIds.PersonDisplayName;
493 /// The first character of first string for grouping. This is normalized using icu (projection)
495 public const uint DisplayNameIndex = (uint)PropertyIds.PersonDisplayNameIndex;
497 /// Display contact ID that the person belongs to
499 public const uint DisplayContactId = (uint)PropertyIds.PersonDisplayContactId;
501 /// Ringtone path of the person
503 public const uint RingtonePath = (uint)PropertyIds.PersonRingtone;
505 /// Image thumbnail path of the person
507 public const uint ThumbnailPath = (uint)PropertyIds.PersonThumbnail;
509 /// Vibration path of the person
511 public const uint Vibration = (uint)PropertyIds.PersonVibration;
513 /// Message alert path of the person
515 public const uint MessageAlert = (uint)PropertyIds.PersonMessageAlert;
517 /// Status of social account
519 public const uint Status = (uint)PropertyIds.PersonStatus;
521 /// The person is favorite or not
523 public const uint IsFavorite = (uint)PropertyIds.PersonIsFavorite;
525 /// The priority of favorite contacts. it can be used as sorting key
527 public const uint FavoritePriority = (uint)PropertyIds.PersonFavoritePriority;
529 /// Link count of contact records (projection)
531 public const uint LinkCount = (uint)PropertyIds.PersonLinkCount;
533 /// Addressbook IDs that the person belongs to (projection)
535 public const uint AddressbookIds = (uint)PropertyIds.PersonAddressbookIds;
537 /// The person has phone number or not
539 public const uint HasPhonenumber = (uint)PropertyIds.PersonHasPhonenumber;
541 /// The person has email or not
543 public const uint HasEmail = (uint)PropertyIds.PersonHasEmail;
545 /// kerword matched data type
547 public const uint SnippetType = (uint)PropertyIds.PersonSnippetType;
549 /// keyword matched data string
551 public const uint SnippetString = (uint)PropertyIds.PersonSnippetString;
554 public static class Contact
557 /// Identifier of this contact view
559 public const string Uri = "tizen.contacts_view.contact";
561 /// DB record ID of the contact
563 public const uint Id = (uint)PropertyIds.ContactId;
565 /// Display name of the contact
567 public const uint DisplayName = (uint)PropertyIds.ContactDisplayName;
569 /// The source type of display name, refer to the DisplayNameSourceTypes
571 public const uint DisplaySourceType = (uint)PropertyIds.ContactDisplaySourceDataId;
573 /// Addressbook ID that the contact belongs to
575 public const uint AddressbookId = (uint)PropertyIds.ContactAddressbookId;
577 /// Ringtone path of the contact
579 public const uint RingtonePath = (uint)PropertyIds.ContactRingtone;
581 /// Image thumbnail path of the contact
583 public const uint ThumbnailPath = (uint)PropertyIds.ContactThumbnail;
585 /// The contact is favorite or not
587 public const uint IsFavorite = (uint)PropertyIds.ContactIsFavorite;
589 /// The contact has phone number or not
591 public const uint HasPhonenumber = (uint)PropertyIds.ContactHasPhonenumber;
593 /// The contact has email or not
595 public const uint HasEmail = (uint)PropertyIds.ContactHasEmail;
597 /// Person ID that the contact belongs to. If set when inserting, a contact will be linked to person
599 public const uint PersonId = (uint)PropertyIds.ContactPersonId;
601 /// Unique identifier
603 public const uint Uid = (uint)PropertyIds.ContactUid;
605 /// Vibration path of the contact
607 public const uint Vibration = (uint)PropertyIds.ContactVibration;
609 /// Message alert path of the contact
611 public const uint MessageAlert = (uint)PropertyIds.ContactMessageAlert;
613 /// Last changed contact time
615 public const uint ChangedTime = (uint)PropertyIds.ContactChangedTime;
617 /// The link mode, refer to the LinkModes. If the person_id was set, this value will be ignored
619 public const uint LinkMode = (uint)PropertyIds.ContactLinkMode;
621 /// Name child record (single)
623 public const uint Name = (uint)PropertyIds.ContactName;
625 /// Company child record (multiple)
627 public const uint Company = (uint)PropertyIds.ContactCompany;
629 /// Note child record (multiple)
631 public const uint Note = (uint)PropertyIds.ContactNote;
633 /// Number child record (multiple)
635 public const uint Number = (uint)PropertyIds.ContactNumber;
637 /// Email child record (multiple)
639 public const uint Email = (uint)PropertyIds.ContactEmail;
641 /// Event child record (multiple)
643 public const uint Event = (uint)PropertyIds.ContactEvent;
645 /// Messenger child record (multiple)
647 public const uint Messenger = (uint)PropertyIds.ContactMessenger;
649 /// Address child record (multiple)
651 public const uint Address = (uint)PropertyIds.ContactAddress;
653 /// Url child record (multiple)
655 public const uint Url = (uint)PropertyIds.ContactUrl;
657 /// Nickname child record (multiple)
659 public const uint Nickname = (uint)PropertyIds.ContactNickname;
661 /// Profile child record (multiple)
663 public const uint Profile = (uint)PropertyIds.ContactProfile;
665 /// Relationship child record (multiple)
667 public const uint Relationship = (uint)PropertyIds.ContactRelationship;
669 /// Image child record (multiple)
671 public const uint Image = (uint)PropertyIds.ContactImage;
673 /// GroupRelation child record (multiple)
675 public const uint GroupRelation = (uint)PropertyIds.ContactGroupRelation;
677 /// Extension child record (multiple)
679 public const uint Extension = (uint)PropertyIds.ContactExtension;
681 /// Sip child record (multiple)
683 public const uint Sip = (uint)PropertyIds.ContactSip;
686 /// Enumeration for link mode when inserting contact.
688 public enum LinkModes
691 /// Auto link immediately
695 /// Do not auto link when the contact is inserted
701 /// Enumeration for Contact display name source type.
703 public enum DisplayNameSourceTypes
706 /// Invalid source of display name
710 /// Produced display name from email record
714 /// Produced display name from number record
718 /// Produced display name from nickname record
722 /// Produced display name from company record
726 /// Produced display name from name record
732 /// Enumeration for contacts data type.
734 public enum DataTypes
754 public static class SimpleContact
757 /// Identifier of this simple contact view
759 public const string Uri = "tizen.contacts_view.simple_contact";
761 /// DB record ID of the contact
763 public const uint Id = (uint)PropertyIds.ContactId;
765 /// Display name of the contact
767 public const uint DisplayName = (uint)PropertyIds.ContactDisplayName;
769 /// The source type of display name, refer to the Contact.DisplayNameSourceTypes
771 public const uint DisplaySourceType = (uint)PropertyIds.ContactDisplaySourceDataId;
773 /// Addressbook that the contact belongs to
775 public const uint AddressbookId = (uint)PropertyIds.ContactAddressbookId;
777 /// Ringtone path of the contact
779 public const uint RingtonePath = (uint)PropertyIds.ContactRingtone;
781 /// Image thumbnail path of the contact
783 public const uint ThumbnailPath = (uint)PropertyIds.ContactThumbnail;
785 /// The contact is favorite or not
787 public const uint IsFavorite = (uint)PropertyIds.ContactIsFavorite;
789 /// The contact has phone number or not
791 public const uint HasPhonenumber = (uint)PropertyIds.ContactHasPhonenumber;
793 /// The contact has email or not
795 public const uint HasEmail = (uint)PropertyIds.ContactHasEmail;
797 /// Person ID that the contact belongs to
799 public const uint PersonId = (uint)PropertyIds.ContactPersonId;
801 /// Unique identifier
803 public const uint Uid = (uint)PropertyIds.ContactUid;
805 /// Vibration path of the contact
807 public const uint Vibration = (uint)PropertyIds.ContactVibration;
809 /// Message alert path of the contact
811 public const uint MessageAlert = (uint)PropertyIds.ContactMessageAlert;
813 /// Last changed contact time
815 public const uint ChangedTime = (uint)PropertyIds.ContactChangedTime;
818 public static class MyProfile
821 /// Identifier of this my profile view
823 public const string Uri = "tizen.contacts_view.my_profile";
825 /// DB record ID of the my profile
827 public const uint Id = (uint)PropertyIds.MyProfileId;
829 /// Display name of the profile
831 public const uint DisplayName = (uint)PropertyIds.MyProfileDisplayName;
833 /// Addressbook ID that the profile belongs to
835 public const uint AddressbookId = (uint)PropertyIds.MyProfileAddressbookId;
837 /// Image thumbnail path of the profile
839 public const uint ThumbnailPath = (uint)PropertyIds.MyProfileThumbnail;
841 /// Unique identifier
843 public const uint Uid = (uint)PropertyIds.MyProfileUid;
845 /// Last changed profile time
847 public const uint ChangedTime = (uint)PropertyIds.MyProfileChangedTime;
849 /// Name child record (single)
851 public const uint Name = (uint)PropertyIds.MyProfileName;
853 /// Company child record (multiple)
855 public const uint Company = (uint)PropertyIds.MyProfileCompany;
857 /// Note child record (multiple)
859 public const uint Note = (uint)PropertyIds.MyProfileNote;
861 /// Number child record (multiple)
863 public const uint Number = (uint)PropertyIds.MyProfileNumber;
865 /// Email child record (multiple)
867 public const uint Email = (uint)PropertyIds.MyProfileEmail;
869 /// Event child record (multiple)
871 public const uint Event = (uint)PropertyIds.MyProfileEvent;
873 /// Messenger child record (multiple)
875 public const uint Messenger = (uint)PropertyIds.MyProfileMessenger;
877 /// Address child record (multiple)
879 public const uint Address = (uint)PropertyIds.MyProfileAddress;
881 /// Url child record (multiple)
883 public const uint Url = (uint)PropertyIds.MyProfileUrl;
885 /// Nickname child record (multiple)
887 public const uint Nickname = (uint)PropertyIds.MyProfileNickname;
889 /// Profile child record (multiple)
891 public const uint Profile = (uint)PropertyIds.MyProfileProfile;
893 /// Relationship child record (multiple)
895 public const uint Relationship = (uint)PropertyIds.MyProfileRelationship;
897 /// Image child record (multiple)
899 public const uint Image = (uint)PropertyIds.MyProfileImage;
901 /// Extension child record (multiple)
903 public const uint Extension = (uint)PropertyIds.MyProfileExtension;
905 /// Sip child record (multiple)
907 public const uint Sip = (uint)PropertyIds.MyProfileSip;
910 public static class Name
913 /// Identifier of this contacts name view
915 public const string Uri = "tizen.contacts_view.name";
917 /// DB record ID of the name
919 public const uint Id = (uint)PropertyIds.NameId;
921 /// Contacts ID that the name record belongs to
923 public const uint ContactId = (uint)PropertyIds.NameContactId;
927 public const uint First = (uint)PropertyIds.NameFirst;
931 public const uint Last = (uint)PropertyIds.NameLast;
935 public const uint Addition = (uint)PropertyIds.NameAddition;
939 public const uint Suffix = (uint)PropertyIds.NameSuffix;
943 public const uint Prefix = (uint)PropertyIds.NamePrefix;
945 /// Pronounce the first name
947 public const uint PhoneticFirst = (uint)PropertyIds.NamePhoneticFirst;
949 /// Pronounce the middle name
951 public const uint PhoneticMiddle = (uint)PropertyIds.NamePhoneticMiddle;
953 /// Pronounce the last name
955 public const uint PhoneticLast = (uint)PropertyIds.NamePhoneticLast;
958 public static class Number
961 /// Identifier of this contacts number view
963 public const string Uri = "tizen.contacts_view.number";
965 /// DB record ID of the number
967 public const uint Id = (uint)PropertyIds.NumberId;
969 /// Contact ID that the number belongs to
971 public const uint ContactId = (uint)PropertyIds.NumberContactId;
973 /// Number type, refer to the Types
975 public const uint Type = (uint)PropertyIds.NumberType;
977 /// Custom number type label, when the number type is Types.Custom
979 public const uint Label = (uint)PropertyIds.NumberLabel;
981 /// The number is default number or not
983 public const uint IsDefault = (uint)PropertyIds.NumberIsDefault;
987 public const uint NumberData = (uint)PropertyIds.NumberNumber;
989 /// You can only use this property for search filter.
991 public const uint NormalizedNumber = (uint)PropertyIds.NumberNormalizedNumber;
993 /// You can only use this property for search filter.
995 public const uint CleanedNumber = (uint)PropertyIds.NumberCleanedNumber;
997 /// You can only use this property for search filter.
999 public const uint NumberFilter = (uint)PropertyIds.NumberNumberFilter;
1004 /// Other number type
1008 /// Custom number type
1012 /// A telephone number associated with a residence
1016 /// A telephone number associated with a place of work
1020 /// A voice telephone number
1024 /// A facsimile telephone number
1028 /// The telephone number has voice messaging support
1032 /// A cellular telephone number
1036 /// A paging device telephone number
1040 /// A bulletin board system telephone number
1044 /// A MODEM connected telephone number
1048 /// A car-phone telephone number
1052 /// An ISDN service telephone number
1056 /// A video conferencing telephone number
1060 /// A personal communication services telephone number
1064 /// A company main number
1068 /// A radio phone number
1072 /// An additional type for main
1076 /// An additional type for assistant
1078 Assistant = 1 << 30,
1082 public static class Email
1085 /// Identifier of this contacts email view
1087 public const string Uri = "tizen.contacts_view.email";
1089 /// DB record ID of the email
1091 public const uint Id = (uint)PropertyIds.EmailId;
1093 /// Contact ID that the email belongs to
1095 public const uint ContactId = (uint)PropertyIds.EmailContactId;
1097 /// Email type, refer to the Types
1099 public const uint Type = (uint)PropertyIds.EmailType;
1101 /// Custom mail type label, when the email type is Types.Custom
1103 public const uint Label = (uint)PropertyIds.EmailLabel;
1105 /// The email is default email or not
1107 public const uint IsDefault = (uint)PropertyIds.EmailIsDefault;
1111 public const uint Address = (uint)PropertyIds.EmailEmail;
1116 /// Other email type
1120 /// Custom email type
1124 /// An email address associated with a residence
1128 /// An email address associated with a place of work
1132 /// A mobile email address
1138 public static class Address
1141 /// Identifier of this contacts address view
1143 public const string Uri = "tizen.contacts_view.address";
1145 /// DB record ID of the address
1147 public const uint Id = (uint)PropertyIds.AddressId;
1149 /// Contact ID that the address belongs to
1151 public const uint ContactId = (uint)PropertyIds.AddressContactId;
1153 /// Address type, refer to the Types
1155 public const uint Type = (uint)PropertyIds.AddressType;
1157 /// Address type label, when the address type is Types.Custom
1159 public const uint Label = (uint)PropertyIds.AddressLabel;
1163 public const uint Postbox = (uint)PropertyIds.AddressPostbox;
1167 public const uint PostalCode = (uint)PropertyIds.AddressPostalCode;
1171 public const uint Region = (uint)PropertyIds.AddressRegion;
1175 public const uint Locality = (uint)PropertyIds.AddressLocality;
1179 public const uint Street = (uint)PropertyIds.AddressStreet;
1183 public const uint Country = (uint)PropertyIds.AddressCountry;
1185 /// Extended address
1187 public const uint Extended = (uint)PropertyIds.AddressExtended;
1189 /// The address is default or not
1191 public const uint IsDefault = (uint)PropertyIds.AddressIsDefault;
1194 /// Enumeration for Contact address type.
1199 /// Other address type
1203 /// Custom address type
1207 /// A delivery address for a residence
1211 /// A delivery address for a place of work
1215 /// A domestic delivery address
1219 /// An international delivery address
1221 International = 1 << 4,
1223 /// A postal delivery address
1227 /// A parcel delivery address
1233 public static class Note
1236 /// Identifier of this contacts note view
1238 public const string Uri = "tizen.contacts_view.note";
1240 /// DB record ID of the note
1242 public const uint Id = (uint)PropertyIds.NoteId;
1244 /// Contact ID that the note belongs to
1246 public const uint ContactId = (uint)PropertyIds.NoteContactId;
1250 public const uint Contents = (uint)PropertyIds.NoteNote;
1253 public static class Url
1256 /// Identifier of this contacts URL view
1258 public const string Uri = "tizen.contacts_view.url";
1260 /// DB record ID of the URL
1262 public const uint Id = (uint)PropertyIds.UrlId;
1264 /// Contact ID that the URL belongs to
1266 public const uint ContactId = (uint)PropertyIds.UrlContactId;
1268 /// URL type, refer to the Types
1270 public const uint Type = (uint)PropertyIds.UrlType;
1272 /// Custom URL type label, when the URL type is Types.Custom
1274 public const uint Label = (uint)PropertyIds.UrlLabel;
1278 public const uint UrlData = (uint)PropertyIds.UrlUrl;
1281 /// Enumeration for Contact URL type.
1304 public static class Event
1307 /// Identifier of this contacts event view
1309 public const string Uri = "tizen.contacts_view.event";
1311 /// DB record ID of the event
1313 public const uint Id = (uint)PropertyIds.EventId;
1315 /// Contact ID that the event belongs to
1317 public const uint ContactId = (uint)PropertyIds.EventContactId;
1319 /// Event type, refer to the Types
1321 public const uint Type = (uint)PropertyIds.EventType;
1323 /// Custom event type label, when the event type is Types.Custom
1325 public const uint Label = (uint)PropertyIds.EventLabel;
1327 /// 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
1329 public const uint Date = (uint)PropertyIds.EventDate;
1331 /// Calendar type, refer to the CalendarTypes
1333 public const uint IsLeapMonth = (uint)PropertyIds.EventIsLeapMonth;
1336 /// Enumeration for Contact event type.
1341 /// Other event type
1345 /// Custom event type
1349 /// Birthday event type
1353 /// Anniversary event type
1359 /// Enumeration for Contact event calendar type.
1361 public enum CalendarTypes
1364 /// Gregorian calendar
1368 /// Chinese calenadr
1374 public static class Relationship
1377 /// Identifier of this relationship view
1379 public const string Uri = "tizen.contacts_view.relationship";
1381 /// DB record ID of the relationship
1383 public const uint Id = (uint)PropertyIds.RelationshipId;
1385 /// Contact ID that the relationship belongs to
1387 public const uint ContactId = (uint)PropertyIds.RelationshipContactId;
1389 /// Relationship type, refer to the Types
1391 public const uint Type = (uint)PropertyIds.RelationshipType;
1393 /// Custom relationship type label, when the relationship type is Types.Custom
1395 public const uint Label = (uint)PropertyIds.RelationshipLabel;
1397 /// Selected contact name that the relationship belongs to
1399 public const uint Name = (uint)PropertyIds.RelationshipName;
1402 /// Enumeration for Contact relationship type.
1407 /// Other relationship type
1423 /// Domestic Partner type
1451 /// Referred by type
1473 public static class Image
1476 /// Identifier of this contacts image view
1478 public const string Uri = "tizen.contacts_view.image";
1480 /// DB record ID of the image
1482 public const uint Id = (uint)PropertyIds.ImageId;
1484 /// Contact ID that the image belongs to
1486 public const uint ContactId = (uint)PropertyIds.ImageContactId;
1488 /// Image type, refer to the Types
1490 public const uint Type = (uint)PropertyIds.ImageType;
1492 /// Custom image type label, when the image type is Types.Custom
1494 public const uint Label = (uint)PropertyIds.ImageLabel;
1496 /// Image thumbnail path
1498 public const uint Path = (uint)PropertyIds.ImagePath;
1500 /// The Image is default or not
1502 public const uint IsDefault = (uint)PropertyIds.ImageIsDefault;
1505 /// Enumeration for Contact image type.
1520 public static class Company
1523 /// Identifier of this contacts company view
1525 public const string Uri = "tizen.contacts_view.company";
1527 /// DB record ID of the company
1529 public const uint Id = (uint)PropertyIds.CompanyId;
1531 /// Contact ID that the company belongs to
1533 public const uint ContactId = (uint)PropertyIds.CompanyContactId;
1535 /// Company type, refer to the Types
1537 public const uint Type = (uint)PropertyIds.CompanyType;
1539 /// Custom company type label, when the company type is Types.Custom
1541 public const uint Label = (uint)PropertyIds.CompanyLabel;
1545 public const uint Name = (uint)PropertyIds.CompanyName;
1549 public const uint Department = (uint)PropertyIds.CompanyDepartment;
1553 public const uint JobTitle = (uint)PropertyIds.CompanyJobTitle;
1557 public const uint AssistantName = (uint)PropertyIds.CompanyAssistantName;
1561 public const uint Role = (uint)PropertyIds.CompanyRole;
1563 /// Company logo image file path
1565 public const uint Logo = (uint)PropertyIds.CompanyLogo;
1567 /// Company location
1569 public const uint Location = (uint)PropertyIds.CompanyLocation;
1573 public const uint Description = (uint)PropertyIds.CompanyDescription;
1575 /// Pronounce the company name
1577 public const uint PhoneticName = (uint)PropertyIds.CompanyPhoneticName;
1580 /// Enumeration for Contact company type.
1584 Other = 0, /**< Other company type */
1585 Custom = 1 << 0, /**< Custom company type */
1586 Work = 1 << 1, /**< Work company type */
1590 public static class Nickname
1593 /// Identifier of this contacts nickname view
1595 public const string Uri = "tizen.contacts_view.nickname";
1597 /// DB record ID of the nickname
1599 public const uint Id = (uint)PropertyIds.NicknameId;
1601 /// Contact ID that the nickname belongs to
1603 public const uint ContactId = (uint)PropertyIds.NicknameContactId;
1607 public const uint Name = (uint)PropertyIds.NicknameName;
1610 public static class Messenger
1613 /// Identifier of this contacts messenger view
1615 public const string Uri = "tizen.contacts_view.messenger";
1617 /// DB record ID of the messenger
1619 public const uint Id = (uint)PropertyIds.MessengerId;
1621 /// Contact ID that the messenger belongs to
1623 public const uint ContactId = (uint)PropertyIds.MessengerContactId;
1625 /// Messenger type, refer to the Types
1627 public const uint Type = (uint)PropertyIds.MessengerType;
1629 /// Custom messenger type label, when the messenger type is Types.Custom
1631 public const uint Label = (uint)PropertyIds.MessengerLabel;
1633 /// Messenger ID (email address or email ID...)
1635 public const uint IMId = (uint)PropertyIds.MessengerIMId;
1638 /// Enumeration for Contact messenger type.
1643 /// Other messenger type
1647 /// Custom messenger type
1651 /// Google messenger type
1655 /// Windows live messenger type
1659 /// Yahoo messenger type
1663 /// Facebook messenger type
1671 /// AOL instance messenger type
1693 public static class Profile
1696 /// Identifier of this contacts profile view
1698 public const string Uri = "tizen.contacts_view.profile";
1700 /// DB record ID of profile
1702 public const uint Id = (uint)PropertyIds.ProfileId;
1704 /// Contacts ID that the profile belongs to
1706 public const uint ContactId = (uint)PropertyIds.ProfileContactId;
1708 /// Unique identifier
1710 public const uint Uid = (uint)PropertyIds.ProfileUid;
1712 /// Profile contents
1714 public const uint Text = (uint)PropertyIds.ProfileText;
1716 /// Priority to display the profile
1718 public const uint Order = (uint)PropertyIds.ProfileOrder;
1720 /// Data for app_control_set_operation
1722 public const uint ServiceOperation = (uint)PropertyIds.ProfileServiceOperation;
1724 /// Data for app_control_set_mime
1726 public const uint Mime = (uint)PropertyIds.ProfileMIME;
1728 /// Data for app_control_set_app_id
1730 public const uint AppId = (uint)PropertyIds.ProfileAppId;
1732 /// Data for app_control_set_uri
1734 public const uint ProfileUri = (uint)PropertyIds.ProfileUri;
1736 /// Data for app_control_set_category
1738 public const uint Category = (uint)PropertyIds.ProfileCategory;
1740 /// It includes "key:value,key:value," pairs. You should parse it. And you must base64 encode each key and value
1742 public const uint ExtraData = (uint)PropertyIds.ProfileExtraData;
1745 public static class Sip
1748 /// Identifier of this contacts sip view
1750 public const string Uri = "tizen.contacts_view.sip";
1752 /// DB record ID of the sip
1754 public const uint Id = (uint)PropertyIds.SipId;
1756 /// Contact ID that the sip belongs to
1758 public const uint ContactId = (uint)PropertyIds.SipContactId;
1762 public const uint Address = (uint)PropertyIds.SipAddress;
1764 /// sip type, refer to the Types
1766 public const uint Type = (uint)PropertyIds.SipType;
1768 /// Custom sip type label, when the sip type is Types.Custom
1770 public const uint Label = (uint)PropertyIds.SipLabel;
1793 public static class Extension
1796 /// Identifier of this contacts extension view
1798 public const string Uri = "tizen.contacts_view.extension";
1800 /// DB record ID of the contact extension
1802 public const uint Id = (uint)PropertyIds.ExtensionId;
1804 /// Contact ID that the contact extension belongs to
1806 public const uint ContactId = (uint)PropertyIds.ExtensionContactId;
1808 /// The extra child record format for non-provided from contacts-service
1810 public const uint Data1 = (uint)PropertyIds.ExtensionData1;
1812 /// The extra child record format for non-provided from contacts-service
1814 public const uint Data2 = (uint)PropertyIds.ExtensionData2;
1816 /// The extra child record format for non-provided from contacts-service
1818 public const uint Data3 = (uint)PropertyIds.ExtensionData3;
1820 /// The extra child record format for non-provided from contacts-service
1822 public const uint Data4 = (uint)PropertyIds.ExtensionData4;
1824 /// The extra child record format for non-provided from contacts-service
1826 public const uint Data5 = (uint)PropertyIds.ExtensionData5;
1828 /// The extra child record format for non-provided from contacts-service
1830 public const uint Data6 = (uint)PropertyIds.ExtensionData6;
1832 /// The extra child record format for non-provided from contacts-service
1834 public const uint Data7 = (uint)PropertyIds.ExtensionData7;
1836 /// The extra child record format for non-provided from contacts-service
1838 public const uint Data8 = (uint)PropertyIds.ExtensionData8;
1840 /// The extra child record format for non-provided from contacts-service
1842 public const uint Data9 = (uint)PropertyIds.ExtensionData9;
1844 /// The extra child record format for non-provided from contacts-service
1846 public const uint Data10 = (uint)PropertyIds.ExtensionData10;
1848 /// The extra child record format for non-provided from contacts-service
1850 public const uint Data11 = (uint)PropertyIds.ExtensionData11;
1852 /// The extra child record format for non-provided from contacts-service
1854 public const uint Data12 = (uint)PropertyIds.ExtensionData12;
1857 public static class GroupRelation
1860 /// Identifier of this relationship view
1862 public const string Uri = "tizen.contacts_view.group_relation";
1864 /// DB record ID of the group relation (can not be used as filter)
1866 public const uint Id = (uint)PropertyIds.GroupRelationId;
1868 /// DB record ID of the group
1870 public const uint GroupId = (uint)PropertyIds.GroupRelationGroupId;
1872 /// DB record ID of the contact
1874 public const uint ContactId = (uint)PropertyIds.GroupRelationContactId;
1878 public const uint Name = (uint)PropertyIds.GroupRelationGroupName;
1881 public static class SpeedDial
1884 /// Identifier of this contact speed dial view
1886 public const string Uri = "tizen.contacts_view.speeddial";
1888 /// Stored speed dial number
1890 public const uint SpeedDialNumber = (uint)PropertyIds.SpeedDialDialNumber;
1892 /// Number ID that the speed dial belongs to
1894 public const uint NumberId = (uint)PropertyIds.SpeedDialNumberId;
1896 /// Contact number of specified speed dial
1898 public const uint Number = (uint)PropertyIds.SpeedDialNumber;
1900 /// Contact number label of specified speed dial, when the number type is Number.Types.Custom
1902 public const uint NumberLabel = (uint)PropertyIds.SpeedDialNumberLabel;
1904 /// Contact number type, refer to the Number.Types
1906 public const uint NumberType = (uint)PropertyIds.SpeedDialNumberType;
1908 /// Person ID that the speed dial belongs to
1910 public const uint PersonId = (uint)PropertyIds.SpeedDialPersonId;
1912 /// Display name that the speed dial belongs to
1914 public const uint DisplayName = (uint)PropertyIds.SpeedDialDisplayName;
1916 /// Image thumbnail path that the speed dial belongs to
1918 public const uint ThumbnailPath = (uint)PropertyIds.SpeedDialThumbnail;
1920 /// You can only use this property for search filter
1922 public const uint NormalizedNumber = (uint)PropertyIds.SpeedDialNormalizedNumber;
1924 /// You can only use this property for search filter
1926 public const uint CleanedNumber = (uint)PropertyIds.SpeedDialCleanedNumber;
1928 /// If you add filter with this property, the string will be normalized as minmatch length internally and the match rule will be applied ContactsFilter.StringMatchType.Exactly
1930 public const uint NumberFilter = (uint)PropertyIds.SpeedDialNumberFilter;
1933 public static class PhoneLog
1936 /// Identifier of this phone log view
1938 public const string Uri = "tizen.contacts_view.phonelog";
1940 /// DB record ID of phone log
1942 public const uint Id = (uint)PropertyIds.PhonelogId;
1944 /// Person ID that the phone log belongs to
1946 public const uint PersonId = (uint)PropertyIds.PhonelogPersonId;
1948 /// Number or Email that the phone log displays
1950 public const uint Address = (uint)PropertyIds.PhonelogAddress;
1952 /// Call end time. The value means number of seconds since 1970-01-01 00:00:00 (UTC)
1954 public const uint LogTime = (uint)PropertyIds.PhonelogLogTime;
1956 /// Log type, refer to the Types
1958 public const uint LogType = (uint)PropertyIds.PhonelogLogType;
1960 /// You can set the related integer data (e.g. message_id, email_id or duration(seconds) of call)
1962 public const uint ExtraData1 = (uint)PropertyIds.PhonelogExtraData1;
1964 /// You can set the related string data (e.g. short message, subject)
1966 public const uint ExtraData2 = (uint)PropertyIds.PhonelogExtraData2;
1968 /// You can only use this property for search filter
1970 public const uint NormalizedAddress = (uint)PropertyIds.PhonelogNormalizedAddress;
1972 /// You can only use this property for search filter
1974 public const uint CleanedAddress = (uint)PropertyIds.PhonelogCleanedAddress;
1976 /// You can only use this property for search filter
1978 public const uint AddressFilter = (uint)PropertyIds.PhonelogAddressFilter;
1980 /// You can set the related SIM slot number. sim_slot_no 0 means first SIM card, sim_slot_no 1 means second SIM. It is same with handle index of telephony handle list. Refer to the telephony_init()
1982 public const uint SimSlotNo = (uint)PropertyIds.PhonelogSIMSlotNo;
1999 /// Incoming video call
2003 /// Outgoing video call
2007 /// Not confirmed missed call
2009 VoiceMissedUnseen = 5,
2011 /// Confirmed missed call
2013 VoiceMissedSeen = 6,
2015 /// Not confirmed missed video call
2017 VideoMissedUnseen = 7,
2019 /// Confirmed missed video call
2021 VidoeMissedSeen = 8,
2027 /// Rejected video call
2035 /// Blocked video call
2065 EmailReceived = 201,
2077 /// <remarks>Read only view</remarks>
2078 public static class ContactUpdatedInfo
2081 /// Identifier of this contact updated info view
2083 public const string Uri = "tizen.contacts_view.contacts_updated_info";
2085 /// Updated contact ID
2087 public const uint ContactId = (uint)PropertyIds.UpdateInfoId;
2089 /// Addressbook ID that the updated contact belongs to
2091 public const uint AddressbookId = (uint)PropertyIds.UpdateInfoAddressbookId;
2093 /// Contact updated type, refer to the ContactsViews.ChangeTypes
2095 public const uint Type = (uint)PropertyIds.UpdateInfoType;
2099 public const uint Version = (uint)PropertyIds.UpdateInfoVersion;
2101 /// Contact image is changed or not
2103 public const uint ImageChanged = (uint)PropertyIds.UpdateInfoImageChanged;
2109 /// <remarks>Read only view</remarks>
2110 public static class MyProfileUpdatedInfo
2113 /// Identifier of this my profile updated info view
2115 public const string Uri = "tizen.contacts_view.my_profile_updated_info";
2117 /// Address book ID that the updated my profile belongs to
2119 public const uint AddressbookId = (uint)PropertyIds.UpdateInfoAddressbookId;
2121 /// Changed update type, refer to the ContactsViews.ChangeTypes
2123 public const uint LastChangedType = (uint)PropertyIds.UpdateInfoLastChangedType;
2127 public const uint Version = (uint)PropertyIds.UpdateInfoVersion;
2133 /// <remarks>Read only view</remarks>
2134 public static class GroupUpdatedInfo
2137 /// Identifier of this group updated info view
2139 public const string Uri = "tizen.contacts_view.groups_updated_info";
2141 /// Updated group ID
2143 public const uint GroupId = (uint)PropertyIds.UpdateInfoId;
2145 /// Address book ID that the updated group belongs to
2147 public const uint AddressbookId = (uint)PropertyIds.UpdateInfoAddressbookId;
2149 /// Changed update type, refer to the ContactsViews.ChangeTypes
2151 public const uint Type = (uint)PropertyIds.UpdateInfoType;
2155 public const uint Version = (uint)PropertyIds.UpdateInfoVersion;
2161 /// <remarks>Read only view</remarks>
2162 public static class GroupMemberUpdatedInfo
2165 /// Identifier of this group member updated info view
2167 public const string Uri = "tizen.contacts_view.groups_member_updated_info";
2169 /// Updated group ID
2171 public const uint GroupId = (uint)PropertyIds.UpdateInfoId;
2173 /// Address book ID that the updated group belongs to
2175 public const uint AddressbookId = (uint)PropertyIds.UpdateInfoAddressbookId;
2179 public const uint Version = (uint)PropertyIds.UpdateInfoVersion;
2185 /// <remarks>Read only view</remarks>
2186 public static class GroupRelationUpdatedInfo
2189 /// Identifier of this group relation updated info view
2191 public const string Uri = "tizen.contacts_view.group_relations_updated_info";
2193 /// Group ID of group relation
2195 public const uint GroupId = (uint)PropertyIds.GroupId;
2197 /// Contact ID of the updated group relation
2199 public const uint ContactId = (uint)PropertyIds.ContactId;
2201 /// Address book ID of contact that the updated group relation
2203 public const uint AddressbookId = (uint)PropertyIds.AddressbookId;
2205 /// Changed update type, refer to the ContactsViews.ChangeTypes
2207 public const uint Type = (uint)PropertyIds.UpdateInfoType;
2211 public const uint Version = (uint)PropertyIds.UpdateInfoVersion;
2217 /// <remarks>Read only view</remarks>
2218 public static class PersonContact
2221 /// Identifier of this person contact view
2223 public const string Uri = "tizen.contacts_view.person/simple_contact";
2225 /// DB record ID of the person
2227 public const uint PersonId = (uint)PropertyIds.PersonId;
2229 /// Display name of the person
2231 public const uint DisplayName = (uint)PropertyIds.PersonDisplayName;
2233 /// The first character of first string for grouping. This is normalized using icu (projection)
2235 public const uint DisplayNameIndex = (uint)PropertyIds.PersonDisplayNameIndex;
2237 /// Display contact ID that the person belongs to (projection)
2239 public const uint DisplayContactId = (uint)PropertyIds.PersonDisplayContactId;
2241 /// Ringtone path of the person (projection)
2243 public const uint RingtonePath = (uint)PropertyIds.PersonRingtone;
2245 /// Image thumbnail path of the person (projection)
2247 public const uint ThumbnailPath = (uint)PropertyIds.PersonThumbnail;
2249 /// Vibration path of the person (projection)
2251 public const uint Vibration = (uint)PropertyIds.PersonVibration;
2253 /// Message alert path of the person (projection)
2255 public const uint MessageAlert = (uint)PropertyIds.PersonMessageAlert;
2257 /// Status of social account (projection)
2259 public const uint Status = (uint)PropertyIds.PersonStatus;
2261 /// The person is favorite or not
2263 public const uint IsFavorite = (uint)PropertyIds.PersonIsFavorite;
2265 /// Link count of contact records (projection)
2267 public const uint LinkCount = (uint)PropertyIds.PersonLinkCount;
2269 /// Contact ID that the person belongs to
2271 public const uint ContactId = (uint)PropertyIds.ContactId;
2273 /// Addressbook IDs that the person belongs to (projection)
2275 public const uint AddressbookIds = (uint)PropertyIds.PersonAddressbookIds;
2277 /// The person has phone number or not
2279 public const uint HasPhonenumber = (uint)PropertyIds.PersonHasPhonenumber;
2281 /// The person has email or not
2283 public const uint HasEmail = (uint)PropertyIds.PersonHasEmail;
2285 /// Addressbook ID that the person belongs to
2287 public const uint AddressbookId = (uint)PropertyIds.ContactAddressbookId;
2289 /// Addressbook mode, refer to the Addressbook.Modes
2291 public const uint AddressbookMode = (uint)PropertyIds.AddressbookMode;
2293 /// Addressbook name that the person belongs to
2295 public const uint AddressbookName = (uint)PropertyIds.AddressbookName;
2297 /// kerword matched data type, refer to the Contact.DataTypes
2299 public const uint SnippetType = (uint)PropertyIds.PersonSnippetType;
2301 /// keyword matched data string
2303 public const uint SnippetString = (uint)PropertyIds.PersonSnippetString;
2309 /// <remarks>Read only view</remarks>
2310 public static class PersonNumber
2313 /// Identifier of this person number view
2315 public const string Uri = "tizen.contacts_view.person/simple_contact/number";
2317 /// DB record ID of the person
2319 public const uint PersonId = (uint)PropertyIds.PersonId;
2321 /// Display name of the person
2323 public const uint DisplayName = (uint)PropertyIds.PersonDisplayName;
2325 /// The first character of first string for grouping. This is normalized using icu (projection)
2327 public const uint DisplayNameIndex = (uint)PropertyIds.PersonDisplayNameIndex;
2329 /// Display contact ID that the person belongs to (projection)
2331 public const uint DisplayContactId = (uint)PropertyIds.PersonDisplayContactId;
2333 /// Ringtone path of the person (projection)
2335 public const uint RingtonePath = (uint)PropertyIds.PersonRingtone;
2337 /// Image thumbnail path of the person (projection)
2339 public const uint ThumbnailPath = (uint)PropertyIds.PersonThumbnail;
2341 /// Vibration path of the person (projection)
2343 public const uint Vibration = (uint)PropertyIds.PersonVibration;
2345 /// Message alert path of the person (projection)
2347 public const uint MessageAlert = (uint)PropertyIds.PersonMessageAlert;
2349 /// The person is favorite or not
2351 public const uint IsFavorite = (uint)PropertyIds.PersonIsFavorite;
2353 /// The person has phone number or not
2355 public const uint HasPhonenumber = (uint)PropertyIds.PersonHasPhonenumber;
2357 /// The person has email or not
2359 public const uint HasEmail = (uint)PropertyIds.PersonHasEmail;
2361 /// Number ID that the person belongs to
2363 public const uint NumberId = (uint)PropertyIds.NumberId;
2365 /// Number type, refer to the Number.Types (projection)
2367 public const uint Type = (uint)PropertyIds.NumberType;
2369 /// Custom number type label, when the number type is Number.Types.Custom (projection)
2371 public const uint Label = (uint)PropertyIds.NumberLabel;
2373 /// The number is default number or not
2375 public const uint IsPrimaryDefault = (uint)PropertyIds.DataIsPrimaryDefault;
2379 public const uint Number = (uint)PropertyIds.NumberNumber;
2381 /// If you add filter with this property, the string will be normalized as minmatch length internally and the match rule will be applied ContactsFilter.StringMatchType.Exactly.
2383 public const uint NumberFilter = (uint)PropertyIds.NumberNumberFilter;
2385 /// You can only use this property for search filter
2387 public const uint NormalizedNumber = (uint)PropertyIds.NumberNormalizedNumber;
2389 /// You can only use this property for search filter
2391 public const uint CleanedNumber = (uint)PropertyIds.NumberCleanedNumber;
2393 /// kerword matched data type, refer to they Contact.DataTypes
2395 public const uint SnippetType = (uint)PropertyIds.PersonSnippetType;
2397 /// keyword matched data string
2399 public const uint SnippetString = (uint)PropertyIds.PersonSnippetString;
2405 /// <remarks>Read only view</remarks>
2406 public static class PersonEmail
2409 /// Identifier of this person email view
2411 public const string Uri = "tizen.contacts_view.person/simple_contact/email";
2413 /// DB record ID of the person
2415 public const uint PersonId = (uint)PropertyIds.PersonId;
2417 /// Display name of the person
2419 public const uint DisplayName = (uint)PropertyIds.PersonDisplayName;
2421 /// The first character of first string for grouping. This is normalized using icu (projection)
2423 public const uint DisplayNameIndex = (uint)PropertyIds.PersonDisplayNameIndex;
2425 /// Display contact ID that the person belongs to (projection)
2427 public const uint DisplayContactId = (uint)PropertyIds.PersonDisplayContactId;
2429 /// Ringtone path of the person (projection)
2431 public const uint RingtonePath = (uint)PropertyIds.PersonRingtone;
2433 /// Image thumbnail path of the person (projection)
2435 public const uint ThumbnailPath = (uint)PropertyIds.PersonThumbnail;
2437 /// Vibration path of the person (projection)
2439 public const uint Vibration = (uint)PropertyIds.PersonVibration;
2441 /// Message alert path of the person (projection)
2443 public const uint MessageAlert = (uint)PropertyIds.PersonMessageAlert;
2445 /// The person is favorite or not
2447 public const uint IsFavorite = (uint)PropertyIds.PersonIsFavorite;
2449 /// The person has phone number or not
2451 public const uint HasPhonenumber = (uint)PropertyIds.PersonHasPhonenumber;
2453 /// The person has email or not
2455 public const uint HasEmail = (uint)PropertyIds.PersonHasEmail;
2457 /// Email ID that the person belongs to
2459 public const uint EmailId = (uint)PropertyIds.EmailId;
2461 /// Email type, refer to the Email.Types (projection)
2463 public const uint Type = (uint)PropertyIds.EmailType;
2465 /// Custom mail type label, when the email type is Email.Types.Custom (projection)
2467 public const uint Label = (uint)PropertyIds.EmailLabel;
2469 /// The email is default email or not
2471 public const uint IsPrimaryDefault = (uint)PropertyIds.DataIsPrimaryDefault;
2475 public const uint Email = (uint)PropertyIds.EmailEmail;
2477 /// kerword matched data type, refer to they Contact.DataTypes
2479 public const uint SnippetType = (uint)PropertyIds.PersonSnippetType;
2481 /// keyword matched data string
2483 public const uint SnippetString = (uint)PropertyIds.PersonSnippetString;
2489 /// <remarks>Read only view</remarks>
2490 public static class PersonGroupRelation
2493 /// Identifier of this person group relation view
2495 public const string Uri = "tizen.contacts_view.person/simple_contact/group";
2497 /// DB record ID of the person
2499 public const uint PersonId = (uint)PropertyIds.PersonId;
2501 /// Display name of the person
2503 public const uint DisplayName = (uint)PropertyIds.PersonDisplayName;
2505 /// The first character of first string for grouping. This is normalized using icu (projection)
2507 public const uint DisplayNameIndex = (uint)PropertyIds.PersonDisplayNameIndex;
2509 /// Display contact ID that the person belongs to (projection)
2511 public const uint DisplayContactId = (uint)PropertyIds.PersonDisplayContactId;
2513 /// Ringtone path of the person (projection)
2515 public const uint RingtonePath = (uint)PropertyIds.PersonRingtone;
2517 /// Image thumbnail path of the person (projection)
2519 public const uint ThumbnailPath = (uint)PropertyIds.PersonThumbnail;
2521 /// Vibration path of the person (projection)
2523 public const uint Vibration = (uint)PropertyIds.PersonVibration;
2525 /// Message alert path of the person (projection)
2527 public const uint MessageAlert = (uint)PropertyIds.PersonMessageAlert;
2529 /// Status of social account (projection)
2531 public const uint Status = (uint)PropertyIds.PersonStatus;
2533 /// The person is favorite or not
2535 public const uint IsFavorite = (uint)PropertyIds.PersonIsFavorite;
2537 /// The person has phone number or not
2539 public const uint HasPhonenumber = (uint)PropertyIds.PersonHasPhonenumber;
2541 /// The person has email or not
2543 public const uint HasEmail = (uint)PropertyIds.PersonHasEmail;
2545 /// Link count of contat records (projection)
2547 public const uint LinkCount = (uint)PropertyIds.PersonLinkCount;
2549 /// Addressbook IDs that the person belongs to (projection)
2551 public const uint AddressbookIds = (uint)PropertyIds.PersonAddressbookIds;
2553 /// Addressbook ID that the person belongs to
2555 public const uint AddressbookId = (uint)PropertyIds.ContactAddressbookId;
2557 /// Addressbook name that the person belongs to
2559 public const uint AddressbookName = (uint)PropertyIds.AddressbookName;
2561 /// Addressbook mode, refer to the Addressbook.Modes
2563 public const uint AddressbookMode = (uint)PropertyIds.AddressbookMode;
2565 /// Group ID that the person belongs to
2567 public const uint GroupId = (uint)PropertyIds.GroupRelationGroupId;
2569 /// Contact ID that the person belongs to (projection)
2571 public const uint ContactId = (uint)PropertyIds.GroupRelationContactId;
2573 /// kerword matched data type, refer to they Contact.DataTypes
2575 public const uint SnippetType = (uint)PropertyIds.PersonSnippetType;
2577 /// keyword matched data string
2579 public const uint SnippetString = (uint)PropertyIds.PersonSnippetString;
2585 /// <remarks>Read only view</remarks>
2586 public static class PersonGroupAssigned
2589 /// Identifier of this person group assigned view
2591 public const string Uri = "tizen.contacts_view.person/simple_contact/group_assigned";
2593 /// DB record ID of the person
2595 public const uint PersonId = (uint)PropertyIds.PersonId;
2597 /// Display name of the person
2599 public const uint DisplayName = (uint)PropertyIds.PersonDisplayName;
2601 /// The first character of first string for grouping. This is normalized using icu (projection)
2603 public const uint DisplayNameIndex = (uint)PropertyIds.PersonDisplayNameIndex;
2605 /// Display contact ID that the person belongs to (projection)
2607 public const uint DisplayContactId = (uint)PropertyIds.PersonDisplayContactId;
2609 /// Ringtone path of the person (projection)
2611 public const uint RingtonePath = (uint)PropertyIds.PersonRingtone;
2613 /// Image thumbnail path of the person (projection)
2615 public const uint ThumbnailPath = (uint)PropertyIds.PersonThumbnail;
2617 /// Vibration path of the person (projection)
2619 public const uint Vibration = (uint)PropertyIds.PersonVibration;
2621 /// Message alert path of the person (projection)
2623 public const uint MessageAlert = (uint)PropertyIds.PersonMessageAlert;
2625 /// Status of social account (projection)
2627 public const uint Status = (uint)PropertyIds.PersonStatus;
2629 /// The person is favorite or not
2631 public const uint IsFavorite = (uint)PropertyIds.PersonIsFavorite;
2633 /// The person has phone number or not
2635 public const uint HasPhonenumber = (uint)PropertyIds.PersonHasPhonenumber;
2637 /// The person has email or not
2639 public const uint HasEmail = (uint)PropertyIds.PersonHasEmail;
2641 /// Link count of contact records (projection)
2643 public const uint LinkCount = (uint)PropertyIds.PersonLinkCount;
2645 /// Addressbook IDs that the linked person belongs to (projection)
2647 public const uint AddressbookIds = (uint)PropertyIds.PersonAddressbookIds;
2649 /// Addressbook ID that the person belongs to
2651 public const uint AddressbookId = (uint)PropertyIds.ContactAddressbookId;
2653 /// Addressbook mode, refer to the Addressbook.Modes
2655 public const uint AddressbookMode = (uint)PropertyIds.AddressbookMode;
2657 /// Group ID that the person belongs to
2659 public const uint GroupId = (uint)PropertyIds.GroupRelationGroupId;
2661 /// Contact ID that the person belongs to (projection)
2663 public const uint ContactId = (uint)PropertyIds.GroupRelationContactId;
2665 /// kerword matched data type, refer to they Contact.DataTypes
2667 public const uint SnippetType = (uint)PropertyIds.PersonSnippetType;
2669 /// keyword matched data string
2671 public const uint SnippetString = (uint)PropertyIds.PersonSnippetString;
2677 /// <remarks>Read only view</remarks>
2678 public static class PersonGroupNotAssigned
2681 /// Identifier of this person group not assigned view
2683 public const string Uri = "tizen.contacts_view.person/simple_contact/group_not_assigned";
2685 /// DB record ID of the person
2687 public const uint PersonId = (uint)PropertyIds.PersonId;
2689 /// Display name of the person
2691 public const uint DisplayName = (uint)PropertyIds.PersonDisplayName;
2693 /// The first character of first string for grouping. This is normalized using icu (projection)
2695 public const uint DisplayNameIndex = (uint)PropertyIds.PersonDisplayNameIndex;
2697 /// Display contact ID that the person belongs to (projection)
2699 public const uint DisplayContactId = (uint)PropertyIds.PersonDisplayContactId;
2701 /// Ringtone path of the person (projection)
2703 public const uint RingtonePath = (uint)PropertyIds.PersonRingtone;
2705 /// Image thumbnail path of the person (projection)
2707 public const uint ThumbnailPath = (uint)PropertyIds.PersonThumbnail;
2709 /// Vibration path of the person (projection)
2711 public const uint Vibration = (uint)PropertyIds.PersonVibration;
2713 /// Message alert path of the person (projection)
2715 public const uint MessageAlert = (uint)PropertyIds.PersonMessageAlert;
2717 /// Status of social account (projection)
2719 public const uint Status = (uint)PropertyIds.PersonStatus;
2721 /// The person is favorite or not
2723 public const uint IsFavorite = (uint)PropertyIds.PersonIsFavorite;
2725 /// The person has phone number or not
2727 public const uint HasPhonenumber = (uint)PropertyIds.PersonHasPhonenumber;
2729 /// The person has email or not
2731 public const uint HasEmail = (uint)PropertyIds.PersonHasEmail;
2733 /// Link count of contact records (projection)
2735 public const uint LinkCount = (uint)PropertyIds.PersonLinkCount;
2737 /// Addressbook IDs that the linked person belongs to (projection)
2739 public const uint AddressbookIds = (uint)PropertyIds.PersonAddressbookIds;
2741 /// Addressbook ID that the person belongs to
2743 public const uint AddressbookId = (uint)PropertyIds.ContactAddressbookId;
2745 /// Addressbook mode, refer to the Addressbook.Modes
2747 public const uint AddressbookMode = (uint)PropertyIds.AddressbookMode;
2749 /// Contact ID that the person belongs to (projection)
2751 public const uint ContactId = (uint)PropertyIds.ContactId;
2753 /// kerword matched data type, refer to they Contact.DataTypes
2755 public const uint SnippetType = (uint)PropertyIds.PersonSnippetType;
2757 /// keyword matched data string
2759 public const uint SnippetString = (uint)PropertyIds.PersonSnippetString;
2765 /// <remarks>Read only view</remarks>
2766 public static class PersonPhonelog
2769 /// Identifier of this phone log view
2771 public const string Uri = "tizen.contacts_view.person/simple_contact/phonelog";
2773 /// DB record ID of the person
2775 public const uint PersonId = (uint)PropertyIds.PersonId;
2777 /// Display name of the person
2779 public const uint DisplayName = (uint)PropertyIds.PersonDisplayName;
2781 /// Image thumbnail path of the person (projection)
2783 public const uint ThumbnailPath = (uint)PropertyIds.PersonThumbnail;
2785 /// DB record ID of phone log
2787 public const uint LogId = (uint)PropertyIds.PhonelogId;
2789 /// Number or Email that the phone log displays
2791 public const uint Address = (uint)PropertyIds.PhonelogAddress;
2793 /// Number or Email type (projection)
2795 public const uint AddressType = (uint)PropertyIds.DataData1;
2797 /// Call end time. The value means number of seconds since 1970-01-01 00:00:00 (UTC)
2799 public const uint LogTime = (uint)PropertyIds.PhonelogLogTime;
2801 /// Log type, refer to the PhoneLog.Types
2803 public const uint LogType = (uint)PropertyIds.PhonelogLogType;
2805 /// You can set the related integer data (e.g. message_id, email_id or duration(seconds) of call) (projection)
2807 public const uint ExtraData1 = (uint)PropertyIds.PhonelogExtraData1;
2809 /// You can set the related string data (e.g. short message, subject) (projection)
2811 public const uint ExtraData2 = (uint)PropertyIds.PhonelogExtraData2;
2813 /// You can only use this property for search filter
2815 public const uint NormalizedAddress = (uint)PropertyIds.PhonelogNormalizedAddress;
2817 /// You can only use this property for search filter
2819 public const uint CleanedAddress = (uint)PropertyIds.PhonelogCleanedAddress;
2821 /// You can only use this property for search filter
2823 public const uint AddressFilter = (uint)PropertyIds.PhonelogAddressFilter;
2825 /// 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()
2827 public const uint SIMSlotNo = (uint)PropertyIds.PhonelogSIMSlotNo;
2833 /// <remarks>Read only view</remarks>
2834 public static class PersonUsage
2837 /// Identifier of this person usage view
2839 public const string Uri = "tizen.contacts_view.person/usag";
2841 /// DB record ID of the person
2843 public const uint PersonId = (uint)PropertyIds.PersonId;
2845 /// Display name of the person
2847 public const uint DisplayName = (uint)PropertyIds.PersonDisplayName;
2849 /// The first character of first string for grouping. This is normalized using icu (projection)
2851 public const uint DisplayNameIndex = (uint)PropertyIds.PersonDisplayNameIndex;
2853 /// Display contact ID that the person belongs to (projection)
2855 public const uint DisplayContactId = (uint)PropertyIds.PersonDisplayContactId;
2857 /// Ringtone path of the person (projection)
2859 public const uint RingtonePath = (uint)PropertyIds.PersonRingtone;
2861 /// Image thumbnail path of the person (projection)
2863 public const uint ThumbnailPath = (uint)PropertyIds.PersonThumbnail;
2865 /// Vibration path of the person (projection)
2867 public const uint Vibration = (uint)PropertyIds.PersonVibration;
2869 /// Message alert path of the person (projection)
2871 public const uint MessageAlert = (uint)PropertyIds.PersonMessageAlert;
2873 /// The person is favorite or not
2875 public const uint IsFavorite = (uint)PropertyIds.PersonIsFavorite;
2877 /// The person has phone number or not
2879 public const uint HasPhonenumber = (uint)PropertyIds.PersonHasPhonenumber;
2881 /// The person has email or not
2883 public const uint HasEmail = (uint)PropertyIds.PersonHasEmail;
2885 /// Usage type, refer to the UsageTypes
2887 public const uint UsageType = (uint)PropertyIds.PersonUsageType;
2889 /// Usage number of person
2891 public const uint TimesUsed = (uint)PropertyIds.PersonTimesUsed;
2904 /// Outgoing message
2916 /// Incoming message
2945 /// <remarks>Read only view</remarks>
2946 public static class ContactNumber
2949 /// Identifier of this contacts number view
2951 public const string Uri = "tizen.contacts_view.simple_contact/number";
2953 /// Contact ID that the number belongs to
2955 public const uint ContactId = (uint)PropertyIds.ContactId;
2957 /// Display name of contact that the number belongs to
2959 public const uint DisplayName = (uint)PropertyIds.ContactDisplayName;
2961 /// The source type of display name, refer to the Contact.DisplayNameSourceTypes (projection)
2963 public const uint DisplaySourceType = (uint)PropertyIds.ContactDisplaySourceDataId;
2965 /// Addressbook ID that the number belongs to
2967 public const uint AddressbookId = (uint)PropertyIds.ContactAddressbookId;
2969 /// Person ID that the number belongs to
2971 public const uint PersonId = (uint)PropertyIds.ContactPersonId;
2973 /// Ringtone path that the number belongs to (projection)
2975 public const uint RingtonePath = (uint)PropertyIds.ContactRingtone;
2977 /// Image thumbnail path that the number belongs to (projection)
2979 public const uint ThumbnailPath = (uint)PropertyIds.ContactThumbnail;
2981 /// DB record ID of the number
2983 public const uint NumberId = (uint)PropertyIds.NumberId;
2985 /// Number type, refer to the Number.Types (projection)
2987 public const uint Type = (uint)PropertyIds.NumberType;
2989 /// Custom number type label, when the number type is Number.Types.Custom (projection)
2991 public const uint Label = (uint)PropertyIds.NumberLabel;
2993 /// The number is default number or not
2995 public const uint IsDefault = (uint)PropertyIds.NumberIsDefault;
2999 public const uint Number = (uint)PropertyIds.NumberNumber;
3001 /// If you add filter with this property, the string will be normalized as minmatch length internally and the match rule will be applied ContactsFilter.StringMatchType.Exactly
3003 public const uint NumberFilter = (uint)PropertyIds.NumberNumberFilter;
3005 /// You can only use this property for search filter
3007 public const uint NormalizedNumber = (uint)PropertyIds.NumberNormalizedNumber;
3009 /// You can only use this property for search filter
3011 public const uint CleanedNumber = (uint)PropertyIds.NumberCleanedNumber;
3017 /// <remarks>Read only view</remarks>
3018 public static class ContactEmail
3021 /// Identifier of this contacts email view
3023 public const string Uri = "tizen.contacts_view.simple_contact/email";
3025 /// Contact ID that the number belongs to
3027 public const uint ContactId = (uint)PropertyIds.ContactId;
3029 /// Display name of contact that the number belongs to
3031 public const uint DisplayName = (uint)PropertyIds.ContactDisplayName;
3033 /// The source type of display name, refer to the Contact.DisplayNameSourceTypes (projection)
3035 public const uint DisplaySourceType = (uint)PropertyIds.ContactDisplaySourceDataId;
3037 /// Addressbook ID that the number belongs to
3039 public const uint AddressbookId = (uint)PropertyIds.ContactAddressbookId;
3041 /// Person ID that the number belongs to
3043 public const uint PersonId = (uint)PropertyIds.ContactPersonId;
3045 /// Ringtone path that the number belongs to (projection)
3047 public const uint RingtonePath = (uint)PropertyIds.ContactRingtone;
3049 /// Image thumbnail path that the number belongs to (projection)
3051 public const uint ThumbnailPath = (uint)PropertyIds.ContactThumbnail;
3053 /// DB record ID of the email
3055 public const uint EmailId = (uint)PropertyIds.EmailId;
3057 /// Email type, refer to the Email.Types (projection)
3059 public const uint Type = (uint)PropertyIds.EmailType;
3061 /// Custom mail type label, when the email type is Email.Types.Custom (projection)
3063 public const uint Label = (uint)PropertyIds.EmailLabel;
3065 /// Email is default email or not
3067 public const uint IsDefault = (uint)PropertyIds.EmailIsDefault;
3071 public const uint Email = (uint)PropertyIds.EmailEmail;
3077 /// <remarks>Read only view</remarks>
3078 public static class ContactGroupRelation
3081 /// Identifier of this contact grouprel view
3083 public const string Uri = "tizen.contacts_view.simple_contact/group";
3085 /// Contact ID that the number belongs to
3087 public const uint ContactId = (uint)PropertyIds.ContactId;
3089 /// Display name of contact that the number belongs to
3091 public const uint DisplayName = (uint)PropertyIds.ContactDisplayName;
3093 /// The source type of display name, refer to the Contact.DisplayNameSourceTypes (projection)
3095 public const uint DisplaySourceType = (uint)PropertyIds.ContactDisplaySourceDataId;
3097 /// Addressbook ID that the number belongs to
3099 public const uint AddressbookId = (uint)PropertyIds.ContactAddressbookId;
3101 /// Person ID that the number belongs to
3103 public const uint PersonId = (uint)PropertyIds.ContactPersonId;
3105 /// Ringtone path that the number belongs to (projection)
3107 public const uint RingtonePath = (uint)PropertyIds.ContactRingtone;
3109 /// Image thumbnail path that the number belongs to (projection)
3111 public const uint ThumbnailPath = (uint)PropertyIds.ContactThumbnail;
3113 /// DB record ID of the group relation
3115 public const uint GroupId = (uint)PropertyIds.GroupRelationGroupId;
3117 /// Group name (projection)
3119 public const uint GroupName = (uint)PropertyIds.GroupRelationGroupName;
3125 /// <remarks>Read only view</remarks>
3126 public static class PhonelogStatistics
3129 /// Identifier of this log statistics view
3131 public const string Uri = "tizen.contacts_view.phonelog_stat";
3133 /// Log count (projection)
3135 public const uint LogCount = (uint)PropertyIds.PhonelogStatLogCount;
3137 /// Log type, see the contacts_phone_log_type_e
3139 public const uint LogType = (uint)PropertyIds.PhonelogStatLogType;
3141 /// 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()
3143 public const uint SIMSlotNo = (uint)PropertyIds.PhonelogStatSIMSlotNo;