ContactChangeReader
ContactChangeReader
ContactChangeReader
ContactChangeReader
Class
Definition
Provides a way to monitor and react to changes to contacts.
public : sealed class ContactChangeReader : IContactChangeReaderpublic sealed class ContactChangeReader : IContactChangeReaderPublic NotInheritable Class ContactChangeReader Implements IContactChangeReader// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Remarks
Call the GetChangeReader method to get an instance of this class.
Methods
AcceptChanges() AcceptChanges() AcceptChanges() AcceptChanges()
Call this method to indicate that you have processed and accepted all changes and you don't want the system to show them to you again.
public : void AcceptChanges()public void AcceptChanges()Public Function AcceptChanges() As void// You can use this method in JavaScript.
AcceptChangesThrough(ContactChange) AcceptChangesThrough(ContactChange) AcceptChangesThrough(ContactChange) AcceptChangesThrough(ContactChange)
Call this method to indicate that you have processed and accepted up through the specified change.
public : void AcceptChangesThrough(ContactChange lastChangeToAccept)public void AcceptChangesThrough(ContactChange lastChangeToAccept)Public Function AcceptChangesThrough(lastChangeToAccept As ContactChange) As void// You can use this method in JavaScript.
Parameters
- lastChangeToAccept
- ContactChange ContactChange ContactChange ContactChange
The last change that you want to system to track as accepted by your app.
ReadBatchAsync() ReadBatchAsync() ReadBatchAsync() ReadBatchAsync()
Asynchronously gets a list of ContactChange objects.
public : IAsyncOperation<IVectorView<ContactChange>> ReadBatchAsync()public IAsyncOperation<IReadOnlyList<ContactChange>> ReadBatchAsync()Public Function ReadBatchAsync() As IAsyncOperation( Of IReadOnlyListContactChange )// You can use this method in JavaScript.
Returns
IAsyncOperation<IVectorView<ContactChange>>
IAsyncOperation<IReadOnlyList<ContactChange>>
IAsyncOperation<IReadOnlyList<ContactChange>>
IAsyncOperation<IReadOnlyList<ContactChange>>
A list of ContactChange objects.