mirror of
https://github.com/bitwarden/mobile.git
synced 2024-09-27 03:52:57 +02:00
ba677a96aa
* EC-519 Refactored IDeviceActionService to be split into IFileService and IAutofillManager also some cleanups were made * EC-519 Fix format * EC-519 Fix merge to use the new AutofillHandler
15 lines
392 B
C#
15 lines
392 B
C#
using System;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Bit.Core.Abstractions
|
|
{
|
|
public interface IFileService
|
|
{
|
|
bool CanOpenFile(string fileName);
|
|
bool OpenFile(byte[] fileData, string id, string fileName);
|
|
bool SaveFile(byte[] fileData, string id, string fileName, string contentUri);
|
|
Task ClearCacheAsync();
|
|
Task SelectFileAsync();
|
|
}
|
|
}
|