Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
IPushTransport.cs
1using System.Threading;
2using System.Threading.Tasks;
3using Waher.Events;
5
7{
11 public interface IPushTransport
12 {
16 event EventHandlerAsync<TokenInformation>? TokenChanged;
17
23 Task InitializeAsync(CancellationToken CancellationToken);
24 }
25}
Abstraction for platform push transports (Firebase, APNS, WNS).
EventHandlerAsync< TokenInformation >? TokenChanged
Raised when the transport receives a refreshed token.
Task InitializeAsync(CancellationToken CancellationToken)
Initializes the transport and wires platform callbacks.