2019-04-19 15:11:17 +02:00
|
|
|
|
using Bit.Core.Enums;
|
|
|
|
|
using System.Threading.Tasks;
|
2019-04-10 05:33:12 +02:00
|
|
|
|
|
|
|
|
|
namespace Bit.App.Abstractions
|
2019-04-10 05:24:03 +02:00
|
|
|
|
{
|
|
|
|
|
public interface IDeviceActionService
|
|
|
|
|
{
|
2019-04-19 15:11:17 +02:00
|
|
|
|
DeviceType DeviceType { get; }
|
2019-04-10 05:24:03 +02:00
|
|
|
|
void Toast(string text, bool longDuration = false);
|
|
|
|
|
bool LaunchApp(string appName);
|
2019-04-10 05:33:12 +02:00
|
|
|
|
Task ShowLoadingAsync(string text);
|
|
|
|
|
Task HideLoadingAsync();
|
2019-04-10 05:24:03 +02:00
|
|
|
|
}
|
|
|
|
|
}
|