mirror of
https://github.com/bitwarden/android.git
synced 2024-11-01 15:45:42 +03:00
16 lines
478 B
C#
16 lines
478 B
C#
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, DateTime revisionDate);
|
|
Task<bool> SyncDeleteSiteAsync(string id);
|
|
Task<bool> FullSyncAsync();
|
|
Task<bool> IncrementalSyncAsync(TimeSpan syncThreshold);
|
|
Task<bool> IncrementalSyncAsync();
|
|
}
|
|
}
|