SyncFolderItems method

Future<ChangeCollection<ItemChange>> SyncFolderItems(
  1. FolderId? syncFolderId,
  2. PropertySet propertySet,
  3. Iterable<ItemId>? ignoredItemIds,
  4. int maxChangesReturned,
  5. SyncFolderItemsScope syncScope,
  6. String? syncState,
)
Synchronizes the items of a specific folder. Calling this method results in a call to EWS. The Id of the folder containing the items to synchronize with. The set of properties to retrieve for synchronized items. The optional list of item Ids that should be ignored. The maximum number of changes that should be returned. The sync scope identifying items to include in the ChangeCollection. The optional sync state representing the point in time when to start the synchronization.

Implementation

Future<ChangeCollection<ItemChange>> SyncFolderItems(
    FolderId? syncFolderId,
    PropertySet propertySet,
    Iterable<ItemId>? ignoredItemIds,
    int maxChangesReturned,
    SyncFolderItemsScope syncScope,
    String? syncState) {
  return this.SyncFolderItemsWithNumberOfDays(
      syncFolderId,
      propertySet,
      ignoredItemIds,
      maxChangesReturned,
      0,
      // numberOfDays
      syncScope,
      syncState);
}