AnkiU.Anki.Syncer.FullSync.DownloadChangedDeckImages(System.Collections.Generic.List)

Here are the examples of the csharp api class AnkiU.Anki.Syncer.FullSync.DownloadChangedDeckImages(System.Collections.Generic.List) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

Project: Anki-Universal
Source File: FullSync.cs
private async Task DownloadDeckImages()
        {
            try
            {
                var files = (await deckImageFolder.GetFilesAsync()).ToList();
                var remoteFolder = await TryGetItemInSyncFolderAsync(Constant.DEFAULT_DECK_IMAGE_FOLDER_NAME);
                if (remoteFolder != null)
                {
                    await DownloadChangedDeckImages(files);
                }
            }
            catch //error in download deck image should not stop syncing
            { }
        }