using System.Collections.Generic; using System.Threading.Tasks; using Bit.Core.Enums; namespace Bit.Core.Abstractions { public interface IPlatformUtilsService { string IdentityClientId { get; } Task CopyToClipboardAsync(string text, Dictionary options = null); string GetApplicationVersion(); DeviceType GetDevice(); string GetDeviceString(); bool IsDev(); bool IsSelfHost(); bool IsViewOpen(); void LaunchUri(string uri, Dictionary options = null); int? LockTimeout(); Task ReadFromClipboardAsync(Dictionary options = null); void SaveFile(); Task ShowDialogAsync(string text, string title = null, string confirmText = null, string cancelText = null, string type = null); void ShowToast(string type, string title, string text, Dictionary options = null); void ShowToast(string type, string title, string[] text, Dictionary options = null); bool SupportsU2f(); } }