mirror of
https://github.com/bitwarden/android.git
synced 2024-11-01 15:45:42 +03:00
19 lines
686 B
C#
19 lines
686 B
C#
|
using System;
|
|||
|
using System.Threading.Tasks;
|
|||
|
using Bit.Core.Models.Response;
|
|||
|
|
|||
|
namespace Bit.Core.Abstractions
|
|||
|
{
|
|||
|
public interface ISyncService
|
|||
|
{
|
|||
|
bool SyncInProgress { get; set; }
|
|||
|
|
|||
|
Task<bool> FullSyncAsync(bool forceSync);
|
|||
|
Task<DateTime?> GetLastSyncAsync();
|
|||
|
Task SetLastSyncAsync(DateTime date);
|
|||
|
Task<bool> SyncDeleteCipherAsync(SyncCipherNotification notification);
|
|||
|
Task<bool> SyncDeleteFolderAsync(SyncFolderNotification notification);
|
|||
|
Task<bool> SyncUpsertCipherAsync(SyncCipherNotification notification, bool isEdit);
|
|||
|
Task<bool> SyncUpsertFolderAsync(SyncFolderNotification notification, bool isEdit);
|
|||
|
}
|
|||
|
}
|