How to inform the file provider about new changes in the remote storage properly

Currently, we are doing it by:

  1. Calling the function 'signalEnumerator' with the identifier as workingset
  2. Returning the metas of the new changes to the function enumerateChanges called by the file provider

Sometimes, it would take more time to get the enumerateChanges function call from the file provider after invoking the signalEnumerator function. So, Kindly let us know if is there any other alternative to pass the new updated items information to the file provider properly and quickly.

Replies

signalEnumerator with the working set identifier, is the correct way to signal that there is new metadata to the system.

If you have a case where it is taking a long time to receive the enumerateChanges call from the system, please file a feedback through Feedback Assistant, including a sysdiagnose, and the timestamp at which you called signalEnumerator.