ContactChangeTracker ContactChangeTracker ContactChangeTracker ContactChangeTracker ContactChangeTracker Class

Definition

Provides functionality for monitoring changes to Contact objects in the ContactStore.

public : sealed class ContactChangeTracker : IContactChangeTracker, IContactChangeTracker2
struct winrt::Windows::ApplicationModel::Contacts::ContactChangeTracker : IContactChangeTracker, IContactChangeTracker2
public sealed class ContactChangeTracker : IContactChangeTracker, IContactChangeTracker2
Public NotInheritable Class ContactChangeTracker Implements IContactChangeTracker, IContactChangeTracker2
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
contactsSystem

Remarks

Use ContactStore.ChangeTracker or ContactList.ChangeTracker to get an instance of this class.

Properties

IsTracking IsTracking IsTracking IsTracking IsTracking

Gets a Boolean value indicating whether change tracking is active.

Methods

Enable() Enable() Enable() Enable() Enable()

Call this method to enable change tracking.

GetChangeReader() GetChangeReader() GetChangeReader() GetChangeReader() GetChangeReader()

Gets a ContactChangeReader that can be used to process changes.

Reset() Reset() Reset() Reset() Reset()

Call this method to reset the change tracker if your app receives ContactChangeType.ChangeTrackingLost.