now with animations lol
This commit is contained in:
parent
7a7cefe7b5
commit
243224a720
6 changed files with 192 additions and 43 deletions
|
|
@ -1,10 +1,18 @@
|
|||
using MetaforceInstaller.Core.Models;
|
||||
using MetaforceInstaller.Core.Models;
|
||||
|
||||
namespace MetaforceInstaller.Core.Intefaces;
|
||||
|
||||
public interface IAdbService
|
||||
{
|
||||
public void InstallApk(string apkPath);
|
||||
public void CopyFile(string localPath, string remotePath);
|
||||
public DeviceInfo GetDeviceInfo();
|
||||
event EventHandler<ProgressInfo>? ProgressChanged;
|
||||
event EventHandler<string>? StatusChanged;
|
||||
|
||||
Task InstallApkAsync(string apkPath, IProgress<ProgressInfo>? progress = null, CancellationToken cancellationToken = default);
|
||||
Task CopyFileAsync(string localPath, string remotePath, IProgress<ProgressInfo>? progress = null, CancellationToken cancellationToken = default);
|
||||
DeviceInfo GetDeviceInfo();
|
||||
|
||||
// Синхронные версии для обратной совместимости
|
||||
void InstallApk(string apkPath);
|
||||
void CopyFile(string localPath, string remotePath);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue