ContactChangeTracker ContactChangeTracker ContactChangeTracker ContactChangeTracker ContactChangeTracker Class

Definition

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

public : sealed class ContactChangeTracker
struct winrt::Windows::ApplicationModel::Contacts::ContactChangeTracker
public sealed class ContactChangeTracker
Public NotInheritable Class ContactChangeTracker
// 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.

Version history

Windows version SDK version Value added
1709 16299 IsTracking

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.