/// This class provides information about views with properties.
/// </summary>
/// <remarks>
- /// 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.
+ /// Views are provided to access and handle entities. A view is a structure, which has property elements.
+ /// A view is almost the same as a database "VIEW", which limits access and guarantees performance.
+ /// A "record" represents a single row of the views.
+ /// A record can have basic properties of five types: integer, string, boolean, long, double.
/// </remarks>
public static class ContactsViews
{
- private const uint PropertyAddressbook = 0x00100000;
+ private const uint PropertyAddressBook = 0x00100000;
private const uint PropertyGroup = 0x00200000;
private const uint PropertyPerson = 0x00300000;
private const uint PropertyData = 0x00600000;
private enum PropertyIds : uint
{
/* addressbook */
- AddressbookId = (PropertyAddressbook | DataTypeInt | ReadOnly),
- AddressbookAccountId = (PropertyAddressbook | DataTypeInt) + 1,
- AddressbookName = (PropertyAddressbook | DataTypeString) + 2,
- AddressbookMode = (PropertyAddressbook | DataTypeInt) + 3,
+ AddressbookId = (PropertyAddressBook | DataTypeInt | ReadOnly),
+ AddressbookAccountId = (PropertyAddressBook | DataTypeInt) + 1,
+ AddressbookName = (PropertyAddressBook | DataTypeString) + 2,
+ AddressbookMode = (PropertyAddressBook | DataTypeInt) + 3,
/* group */
GroupId = (PropertyGroup | DataTypeInt | ReadOnly),
PersonFavoritePriority = (PropertyPerson | DataTypeDouble | ReadOnly) + 7,
PersonLinkCount = (PropertyPerson | DataTypeInt | ReadOnly) + 8,
PersonAddressbookIds = (PropertyPerson | DataTypeString | ReadOnly) + 9,
- PersonHasPhonenumber = (PropertyPerson | DataTypeBool | ReadOnly) + 10,
+ PersonHasPhoneNumber = (PropertyPerson | DataTypeBool | ReadOnly) + 10,
PersonHasEmail = (PropertyPerson | DataTypeBool | ReadOnly) + 11,
PersonDisplayNameIndex = (PropertyPerson | DataTypeString | ReadOnly) + 12,
PersonStatus = (PropertyPerson | DataTypeString | ReadOnly) + 13,
ContactImage = (PropertyContact | DataTypeRecord) + 5,
ContactThumbnail = (PropertyContact | DataTypeString | ReadOnly) + 6,
ContactIsFavorite = (PropertyContact | DataTypeBool) + 7,
- ContactHasPhonenumber = (PropertyContact | DataTypeBool | ReadOnly) + 8,
+ ContactHasPhoneNumber = (PropertyContact | DataTypeBool | ReadOnly) + 8,
ContactHasEmail = (PropertyContact | DataTypeBool | ReadOnly) + 9,
ContactPersonId = (PropertyContact | DataTypeInt) + 10,
ContactUid = (PropertyContact | DataTypeString) + 11,
internal const uint AverageSizeOfRecord = 120; /* average size of person record */
+ /// <summary>
+ /// Describes properies of a Address book record.
+ /// </summary>
public static class Addressbook
{
/// <summary>
}
}
+ /// <summary>
+ /// Describes properies of a Group record.
+ /// </summary>
public static class Group
{
/// <summary>
public const uint MessageAlert = (uint)PropertyIds.GroupMessageAlert;
}
+ /// <summary>
+ /// Describes properies of a Person record.
+ /// </summary>
public static class Person
{
/// <summary>
/// <summary>
/// The person has phone number or not
/// </summary>
- public const uint HasPhonenumber = (uint)PropertyIds.PersonHasPhonenumber;
+ public const uint HasPhoneNumber = (uint)PropertyIds.PersonHasPhoneNumber;
/// <summary>
/// The person has email or not
/// </summary>
public const uint SnippetString = (uint)PropertyIds.PersonSnippetString;
}
+ /// <summary>
+ /// Describes properies of a Contact record.
+ /// </summary>
public static class Contact
{
/// <summary>
/// <summary>
/// The contact has phone number or not
/// </summary>
- public const uint HasPhonenumber = (uint)PropertyIds.ContactHasPhonenumber;
+ public const uint HasPhoneNumber = (uint)PropertyIds.ContactHasPhoneNumber;
/// <summary>
/// The contact has email or not
/// </summary>
}
}
+ /// <summary>
+ /// Describes properies of a Simple contact record.
+ /// </summary>
public static class SimpleContact
{
/// <summary>
/// <summary>
/// The contact has phone number or not
/// </summary>
- public const uint HasPhonenumber = (uint)PropertyIds.ContactHasPhonenumber;
+ public const uint HasPhoneNumber = (uint)PropertyIds.ContactHasPhoneNumber;
/// <summary>
/// The contact has email or not
/// </summary>
public const uint ChangedTime = (uint)PropertyIds.ContactChangedTime;
}
+ /// <summary>
+ /// Describes properies of a My profile record.
+ /// </summary>
public static class MyProfile
{
/// <summary>
public const uint Sip = (uint)PropertyIds.MyProfileSip;
}
+ /// <summary>
+ /// Describes properies of a Name record.
+ /// </summary>
public static class Name
{
/// <summary>
public const uint PhoneticLast = (uint)PropertyIds.NamePhoneticLast;
}
+ /// <summary>
+ /// Describes properies of a Number record.
+ /// </summary>
public static class Number
{
/// <summary>
/// </summary>
public const uint NumberFilter = (uint)PropertyIds.NumberNumberFilter;
+ /// <summary>
+ /// Enumeration for number type.
+ /// </summary>
public enum Types
{
/// <summary>
}
}
+ /// <summary>
+ /// Describes properies of a Email record.
+ /// </summary>
public static class Email
{
/// <summary>
/// </summary>
public const uint Address = (uint)PropertyIds.EmailEmail;
+ /// <summary>
+ /// Enumeration for Contact email type.
+ /// </summary>
public enum Types
{
/// <summary>
}
}
+ /// <summary>
+ /// Describes properies of a Address record.
+ /// </summary>
public static class Address
{
/// <summary>
}
}
+ /// <summary>
+ /// Describes properies of a Note record.
+ /// </summary>
public static class Note
{
/// <summary>
public const uint Contents = (uint)PropertyIds.NoteNote;
}
+ /// <summary>
+ /// Describes properies of a Url record.
+ /// </summary>
public static class Url
{
/// <summary>
}
}
+ /// <summary>
+ /// Describes properies of a Event record.
+ /// </summary>
public static class Event
{
/// <summary>
}
}
+ /// <summary>
+ /// Describes properies of a Relationship record.
+ /// </summary>
public static class Relationship
{
/// <summary>
}
}
+ /// <summary>
+ /// Describes properies of a Image record.
+ /// </summary>
public static class Image
{
/// <summary>
}
}
+ /// <summary>
+ /// Describes properies of a Company record.
+ /// </summary>
public static class Company
{
/// <summary>
}
}
+ /// <summary>
+ /// Describes properies of a Nickname record.
+ /// </summary>
public static class Nickname
{
/// <summary>
public const uint Name = (uint)PropertyIds.NicknameName;
}
+ /// <summary>
+ /// Describes properies of a Messenger record.
+ /// </summary>
public static class Messenger
{
/// <summary>
}
}
+ /// <summary>
+ /// Describes properies of a Profile record.
+ /// </summary>
public static class Profile
{
/// <summary>
public const uint ExtraData = (uint)PropertyIds.ProfileExtraData;
}
+ /// <summary>
+ /// Describes properies of a Sip record.
+ /// </summary>
public static class Sip
{
/// <summary>
/// </summary>
public const uint Label = (uint)PropertyIds.SipLabel;
+ /// <summary>
+ /// Enumeration for Contact SIP type.
+ /// </summary>
public enum Types
{
/// <summary>
}
}
+ /// <summary>
+ /// Describes properies of a Extension record.
+ /// </summary>
public static class Extension
{
/// <summary>
public const uint Data12 = (uint)PropertyIds.ExtensionData12;
}
+ /// <summary>
+ /// Describes properies of a Group relation record.
+ /// </summary>
public static class GroupRelation
{
/// <summary>
public const uint Name = (uint)PropertyIds.GroupRelationGroupName;
}
+ /// <summary>
+ /// Describes properies of a Speed dial record.
+ /// </summary>
public static class SpeedDial
{
/// <summary>
public const uint NumberFilter = (uint)PropertyIds.SpeedDialNumberFilter;
}
+ /// <summary>
+ /// Describes properies of a Phone log record.
+ /// </summary>
public static class PhoneLog
{
/// <summary>
/// </summary>
public const uint SimSlotNo = (uint)PropertyIds.PhonelogSIMSlotNo;
+ /// <summary>
+ /// Enumeration for Phone log type.
+ /// </summary>
public enum Types
{
/// <summary>
}
/// <summary>
- ///
+ /// Describes properies of a Contact updated information record.
/// </summary>
/// <remarks>Read only view</remarks>
public static class ContactUpdatedInfo
/// </summary>
public const uint AddressbookId = (uint)PropertyIds.UpdateInfoAddressbookId;
/// <summary>
- /// Contact updated type, refer to the ContactsViews.ChangeTypes
+ /// Contact change type, refer to the ContactsViews.ChangeTypes
/// </summary>
public const uint Type = (uint)PropertyIds.UpdateInfoType;
/// <summary>
}
/// <summary>
- ///
+ /// Describes properies of a My profile updated information record.
/// </summary>
/// <remarks>Read only view</remarks>
public static class MyProfileUpdatedInfo
/// </summary>
public const uint AddressbookId = (uint)PropertyIds.UpdateInfoAddressbookId;
/// <summary>
- /// Changed update type, refer to the ContactsViews.ChangeTypes
+ /// MyProfile change type, refer to the ContactsViews.ChangeTypes
/// </summary>
public const uint LastChangedType = (uint)PropertyIds.UpdateInfoLastChangedType;
/// <summary>
}
/// <summary>
- ///
+ /// Describes properies of a Group updated information record.
/// </summary>
/// <remarks>Read only view</remarks>
public static class GroupUpdatedInfo
/// </summary>
public const uint AddressbookId = (uint)PropertyIds.UpdateInfoAddressbookId;
/// <summary>
- /// Changed update type, refer to the ContactsViews.ChangeTypes
+ /// Group change type, refer to the ContactsViews.ChangeTypes
/// </summary>
public const uint Type = (uint)PropertyIds.UpdateInfoType;
/// <summary>
}
/// <summary>
- ///
+ /// Describes properies of a Group Member updated information record.
/// </summary>
/// <remarks>Read only view</remarks>
public static class GroupMemberUpdatedInfo
}
/// <summary>
- ///
+ /// Describes properies of a Relation updated information record.
/// </summary>
/// <remarks>Read only view</remarks>
public static class GroupRelationUpdatedInfo
/// </summary>
public const uint AddressbookId = (uint)PropertyIds.AddressbookId;
/// <summary>
- /// Changed update type, refer to the ContactsViews.ChangeTypes
+ /// Group relation change type, refer to the ContactsViews.ChangeTypes
/// </summary>
public const uint Type = (uint)PropertyIds.UpdateInfoType;
/// <summary>
}
/// <summary>
- ///
+ /// Describes properies of a Person & Contact record.
/// </summary>
/// <remarks>Read only view</remarks>
public static class PersonContact
/// <summary>
/// The person has phone number or not
/// </summary>
- public const uint HasPhonenumber = (uint)PropertyIds.PersonHasPhonenumber;
+ public const uint HasPhoneNumber = (uint)PropertyIds.PersonHasPhoneNumber;
/// <summary>
/// The person has email or not
/// </summary>
};
/// <summary>
- ///
+ /// Describes properies of a Person & Number record.
/// </summary>
/// <remarks>Read only view</remarks>
public static class PersonNumber
/// <summary>
/// The person has phone number or not
/// </summary>
- public const uint HasPhonenumber = (uint)PropertyIds.PersonHasPhonenumber;
+ public const uint HasPhoneNumber = (uint)PropertyIds.PersonHasPhoneNumber;
/// <summary>
/// The person has email or not
/// </summary>
};
/// <summary>
- ///
+ /// Describes properies of a Person & Email record.
/// </summary>
/// <remarks>Read only view</remarks>
public static class PersonEmail
/// <summary>
/// The person has phone number or not
/// </summary>
- public const uint HasPhonenumber = (uint)PropertyIds.PersonHasPhonenumber;
+ public const uint HasPhoneNumber = (uint)PropertyIds.PersonHasPhoneNumber;
/// <summary>
/// The person has email or not
/// </summary>
};
/// <summary>
- ///
+ /// Describes properies of a Person & Group Relation record.
/// </summary>
/// <remarks>Read only view</remarks>
public static class PersonGroupRelation
/// <summary>
/// The person has phone number or not
/// </summary>
- public const uint HasPhonenumber = (uint)PropertyIds.PersonHasPhonenumber;
+ public const uint HasPhoneNumber = (uint)PropertyIds.PersonHasPhoneNumber;
/// <summary>
/// The person has email or not
/// </summary>
};
/// <summary>
- ///
+ /// Describes properies of a Person & Group Assigned record.
/// </summary>
/// <remarks>Read only view</remarks>
public static class PersonGroupAssigned
/// <summary>
/// The person has phone number or not
/// </summary>
- public const uint HasPhonenumber = (uint)PropertyIds.PersonHasPhonenumber;
+ public const uint HasPhoneNumber = (uint)PropertyIds.PersonHasPhoneNumber;
/// <summary>
/// The person has email or not
/// </summary>
};
/// <summary>
- ///
+ /// Describes properies of a Person & Group Not Assigned record.
/// </summary>
/// <remarks>Read only view</remarks>
public static class PersonGroupNotAssigned
/// <summary>
/// The person has phone number or not
/// </summary>
- public const uint HasPhonenumber = (uint)PropertyIds.PersonHasPhonenumber;
+ public const uint HasPhoneNumber = (uint)PropertyIds.PersonHasPhoneNumber;
/// <summary>
/// The person has email or not
/// </summary>
};
/// <summary>
- ///
+ /// Describes properies of a Person & Phone Log record.
/// </summary>
/// <remarks>Read only view</remarks>
public static class PersonPhonelog
};
/// <summary>
- ///
+ /// Describes properies of a Person Usage record.
/// </summary>
/// <remarks>Read only view</remarks>
public static class PersonUsage
/// <summary>
/// The person has phone number or not
/// </summary>
- public const uint HasPhonenumber = (uint)PropertyIds.PersonHasPhonenumber;
+ public const uint HasPhoneNumber = (uint)PropertyIds.PersonHasPhoneNumber;
/// <summary>
/// The person has email or not
/// </summary>
/// </summary>
public const uint TimesUsed = (uint)PropertyIds.PersonTimesUsed;
+ /// <summary>
+ /// Enumeration for Person usage type.
+ /// </summary>
public enum Types
{
/// <summary>
};
/// <summary>
- ///
+ /// Describes properies of a Contact & Number record.
/// </summary>
/// <remarks>Read only view</remarks>
public static class ContactNumber
};
/// <summary>
- ///
+ /// Describes properies of a Contact & Email record.
/// </summary>
/// <remarks>Read only view</remarks>
public static class ContactEmail
};
/// <summary>
- ///
+ /// Describes properies of a Contact & Group Relation record.
/// </summary>
/// <remarks>Read only view</remarks>
public static class ContactGroupRelation
};
/// <summary>
- ///
+ /// Describes properies of a Phone Log Statistics record.
/// </summary>
/// <remarks>Read only view</remarks>
public static class PhonelogStatistics