mirror of
https://github.com/bitwarden/android.git
synced 2024-11-01 07:35:52 +03:00
19 lines
No EOL
686 B
C#
19 lines
No EOL
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);
|
|
}
|
|
} |