mirror of
https://github.com/bitwarden/android.git
synced 2024-12-27 11:28:28 +03:00
abada481b7
* [SG-702] Tap notification now switches accounts if it is a passwordless notification. * [SG-702] Fix compilation errors * [SG-702] Fixed iOS notification tap fix * [SG-702] Notification data model * [SG-702] Change method signature with object containing properties. PR fixes.
17 lines
539 B
C#
17 lines
539 B
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using Bit.App.Models;
|
|
|
|
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, BaseNotificationData data);
|
|
void DismissLocalNotification(string notificationId);
|
|
}
|
|
}
|