Class ContactsManager
Definition
- Namespace:
- Tizen.Pims.Contacts
- Assembly:
- Tizen.Pims.Contacts.dll
- API Level:
- 4
A class for managing the contact information. It allows the applications to access the contacts database.
C#Copypublic class ContactsManager : IDisposable
- Inheritance
-
ContactsManager
Constructors
Declaration
C#Copypublic ContactsManager()
API Level: 4
Feature: http://tizen.org/feature/contact
Properties
Declaration
C#Copypublic ContactsDatabase Database { get; }
Property Value
Type | Description |
---|---|
ContactsDatabase | A ContactsDatabase. |
API Level: 4
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.
API Level: 4
Privilege Level: public
Privilege: http://tizen.org/privilege/contact.readhttp://tizen.org/privilege/contact.write
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.
API Level: 4
Privilege Level: public
Privilege: http://tizen.org/privilege/contact.readhttp://tizen.org/privilege/contact.write
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()
API Level: 4
Declaration
C#Copyprotected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
Boolean | disposing | Disposing by the user. |
API Level: 4
Declaration
C#Copyprotected void Finalize()
API Level: 4
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 |
---|---|
EventHandler<NameDisplayOrderChangedEventArgs> |
API Level: 4
Privilege Level: public
Privilege: http://tizen.org/privilege/contact.read
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 |
---|---|
EventHandler<NameSortingOrderChangedEventArgs> |