Class ContactsManager

    Definition

    Namespace:
    Tizen.Pims.Contacts
    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
    object
    ContactsManager
    Implements
    System.IDisposable

    Constructors

    View Source

    ContactsManager()

    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 Source

    Database

    A ContactsDatabase.

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

    A ContactsDatabase.

    View Source

    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.

    View Source

    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 Source

    Dispose()

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

    Declaration
    public void Dispose()
    View Source

    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.

    View Source

    ~ContactsManager()

    The destructor.

    Declaration
    protected ~ContactsManager()

    Events

    View Source

    NameDisplayOrderChanged

    (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>
    View Source

    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>

    Implements

    System.IDisposable
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX