Files
Wino-Mail/Wino.Core.Domain/Interfaces/INativeAppService.cs

27 lines
728 B
C#
Raw Normal View History

2024-04-18 01:44:37 +02:00
using System;
using System.Threading.Tasks;
using Wino.Core.Domain.Models.Authorization;
namespace Wino.Core.Domain.Interfaces
{
public interface INativeAppService
{
string GetWebAuthenticationBrokerUri();
Task<string> GetMimeMessageStoragePath();
Task<string> GetEditorBundlePathAsync();
2024-04-18 01:44:37 +02:00
Task LaunchFileAsync(string filePath);
Task LaunchUriAsync(Uri uri);
2024-04-18 01:44:37 +02:00
bool IsAppRunning();
string GetFullAppVersion();
Task PinAppToTaskbarAsync();
/// <summary>
/// Some cryptographic shit is needed for requesting Google authentication in UWP.
/// </summary>
GoogleAuthorizationRequest GetGoogleAuthorizationRequest();
}
}