Exemplo n.º 1
0
 public void OnPushReceived(PushNotification notification, bool fromBackground)
 {
     PushReceived?.Invoke(this, new PushNotificationEventArgs()
     {
         Notification = notification, FromBackground = fromBackground
     });
 }
Exemplo n.º 2
0
 internal Task InternalPushReceivedAsync(ReceivedPush push)
 {
     return(PushReceived is null ? Task.CompletedTask : PushReceived.Invoke(push));
 }