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