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#
Copy
public class ContactsManager : IDisposable
Inheritance
System.Object
ContactsManager
Implements
System.IDisposable

Constructors

View Source

ContactsManager()

Creates a ContactsManager.

Declaration
C#
Copy
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.

API Level: 4
Feature: http://tizen.org/feature/contact

Properties

View Source

Database

A ContactsDatabase.

Declaration
C#
Copy
public ContactsDatabase Database { get; }
Property Value
Type Description
ContactsDatabase

A ContactsDatabase.

API Level: 4
View Source

NameDisplayOrder

A setting value of the contacts name display order.

Declaration
C#
Copy
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.

API Level: 4
Privilege Level: public
Privilege: http://tizen.org/privilege/contact.readhttp://tizen.org/privilege/contact.write
View Source

NameSortingOrder

A setting value of the contacts name sorting order.

Declaration
C#
Copy
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.

API Level: 4
Privilege Level: public
Privilege: http://tizen.org/privilege/contact.readhttp://tizen.org/privilege/contact.write

Methods

View Source

Dispose()

Releases all the resources used by the ContactsManager. It should be called after it has finished using the object.

Declaration
C#
Copy
public void Dispose()
API Level: 4
View Source

Dispose(Boolean)

Releases all the resources used by the ContactsManager.

Declaration
C#
Copy
protected virtual void Dispose(bool disposing)
Parameters
Type Name Description
Boolean disposing

Disposing by the user.

API Level: 4
View Source

Finalize()

The destructor.

Declaration
C#
Copy
protected void Finalize()
API Level: 4

Events

View Source

NameDisplayOrderChanged

(event) NameDisplayOrderChanged is raised when changing the setting value of the contacts name display order.

Declaration
C#
Copy
public event EventHandler<NameDisplayOrderChangedEventArgs> NameDisplayOrderChanged
Event Type
Type Description
System.EventHandler<NameDisplayOrderChangedEventArgs>
API Level: 4
Privilege Level: public
Privilege: http://tizen.org/privilege/contact.read
View Source

NameSortingOrderChanged

(event) NameSortingOrderChanged is raised when changing the setting value of the contacts name sorting order.

Declaration
C#
Copy
public event EventHandler<NameSortingOrderChangedEventArgs> NameSortingOrderChanged
Event Type
Type Description
System.EventHandler<NameSortingOrderChangedEventArgs>
API Level: 4
Privilege Level: public
Privilege: http://tizen.org/privilege/contact.read

Implements

System.IDisposable