Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
IPushNotificationService.cs
3
5{
6
10 [DefaultImplementation(typeof(PushNotificationService))]
11 public interface IPushNotificationService
12 {
18
25 bool TryGetToken(PushMessagingService Source, out string? Token);
26
31
37 }
38}
Contains information about a push notification token.
TokenEventHandler OnNewToken
Event raised when a new token is made available.
bool TryGetToken(PushMessagingService Source, out string? Token)
Tries to get a token from a push notification service.
Task NewToken(TokenInformation TokenInformation)
New token received from push notification back-end.
Task CheckPushNotificationToken(TokenInformation? TokenInformation=null)
Checks if the Push Notification Token is current and registered properly.
delegate Task TokenEventHandler(object? Sender, TokenEventArgs e)
Delegate for token event handlers.
PushMessagingService
Push messaging service used.