Class ContactsManager
Definition
- Assembly:
- Tizen.Pims.Contacts.dll
A class for managing the contact information. It allows the applications to access the contacts database.
C#Copypublic class ContactsManager : IDisposable
- Inheritance
-
objectContactsManager
- Implements
-
System.IDisposable
Constructors
Declaration
C#Copypublic ContactsManager()
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | Thrown when the method failed due to an invalid operation. |
System.NotSupportedException | Thrown when the feature is not supported. |
Properties
Declaration
C#Copypublic ContactsDatabase Database { get; }
Property Value
Type | Description |
---|---|
ContactsDatabase | A ContactsDatabase. |
Declaration
C#Copypublic ContactDisplayOrder NameDisplayOrder { get; set; }
Property Value
Type | Description |
---|---|
ContactDisplayOrder | A setting value of the contacts name display order. |
Remarks
DisplayName of the contacts returned from the database is determined by this property.
Declaration
C#Copypublic ContactSortingOrder NameSortingOrder { get; set; }
Property Value
Type | Description |
---|---|
ContactSortingOrder | A setting value of the contacts name sorting order. |
Remarks
Contacts returned from the database are first sorted based on the first name or last name by this property.
Methods
Dispose()
Releases all the resources used by the ContactsManager. It should be called after it has finished using the object.
Declaration
C#Copypublic void Dispose()
Declaration
C#Copyprotected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing | Disposing by the user. |
Declaration
C#Copyprotected ~ContactsManager()
Events
NameDisplayOrderChanged
(event) NameDisplayOrderChanged is raised when changing the setting value of the contacts name display order.
Declaration
C#Copypublic event EventHandler<NameDisplayOrderChangedEventArgs> NameDisplayOrderChanged
Event Type
Type | Description |
---|---|
System.EventHandler<TEventArgs><NameDisplayOrderChangedEventArgs> |
NameSortingOrderChanged
(event) NameSortingOrderChanged is raised when changing the setting value of the contacts name sorting order.
Declaration
C#Copypublic event EventHandler<NameSortingOrderChangedEventArgs> NameSortingOrderChanged
Event Type
Type | Description |
---|---|
System.EventHandler<TEventArgs><NameSortingOrderChangedEventArgs> |