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