bitwarden-android/src/App/Abstractions/Services/ISyncService.cs

17 lines
455 B
C#
Raw Normal View History

2016-07-29 04:41:45 +03:00
using System;
using System.Threading.Tasks;
namespace Bit.App.Abstractions
{
public interface ISyncService
{
bool SyncInProgress { get; }
Task<bool> SyncAsync(string id);
Task<bool> SyncDeleteFolderAsync(string id);
Task<bool> SyncDeleteSiteAsync(string id);
Task<bool> FullSyncAsync();
2016-07-29 04:41:45 +03:00
Task<bool> IncrementalSyncAsync(TimeSpan syncThreshold);
Task<bool> IncrementalSyncAsync();
}
}