Class ContactsManager
Definition
- Assembly:
- Tizen.Pims.Contacts.dll
A class for managing the contact information. It allows the applications to access the contacts database.
public class ContactsManager : IDisposable
- Inheritance
-
objectContactsManager
- Implements
-
System.IDisposable
Constructors
View SourceContactsManager()
Creates a ContactsManager.
Declaration
public 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
View SourceDatabase
A ContactsDatabase.
Declaration
public ContactsDatabase Database { get; }
Property Value
Type | Description |
---|---|
ContactsDatabase | A ContactsDatabase. |
NameDisplayOrder
A setting value of the contacts name display order.
Declaration
public 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.
NameSortingOrder
A setting value of the contacts name sorting order.
Declaration
public 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
View SourceDispose()
Releases all the resources used by the ContactsManager. It should be called after it has finished using the object.
Declaration
public void Dispose()
Dispose(bool)
Releases all the resources used by the ContactsManager.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing | Disposing by the user. |
~ContactsManager()
The destructor.
Declaration
protected ~ContactsManager()
Events
View SourceNameDisplayOrderChanged
(event) NameDisplayOrderChanged is raised when changing the setting value of the contacts name display order.
Declaration
public 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
public event EventHandler<NameSortingOrderChangedEventArgs> NameSortingOrderChanged
Event Type
Type | Description |
---|---|
System.EventHandler<TEventArgs><NameSortingOrderChangedEventArgs> |