17 lines
513 B
C#
17 lines
513 B
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Bit.App.Abstractions
|
|
{
|
|
public interface IPushNotificationService
|
|
{
|
|
bool IsRegisteredForPush { get; }
|
|
Task<bool> AreNotificationsSettingsEnabledAsync();
|
|
Task<string> GetTokenAsync();
|
|
Task RegisterAsync();
|
|
Task UnregisterAsync();
|
|
void SendLocalNotification(string title, string message, string notificationId);
|
|
void DismissLocalNotification(string notificationId);
|
|
}
|
|
}
|