[UWP]如何在定期检查1分钟间隔后在UWP App中触发通知和磁贴更新 [英] [UWP]How to trigger a notification and tile update in UWP App after a periodic checking of 1 min interval

查看:83
本文介绍了[UWP]如何在定期检查1分钟间隔后在UWP App中触发通知和磁贴更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须通过检查每分钟来显示某些状态的通知和磁贴更新。用户可以更新通过应用程序显示通知的时间,因此检查取决于显示时间。

I have to show a notification and tile update for some status by checking every min. The user can update the time to show the notification through the app so the check depends on the time it is to be shown.

现在我已经使用计时器触发器和周期性计时器实现了后台任务在此内部,检查用户给定的时间与当前时间。

Now i have implemented a Background task using timer trigger and periodic timer inside this, to check the user given time against the current time.

第一期:计时器仅在15分钟的间隔后启动 

1st issue : The timer starts only after an interval of 15 min 

还有其他更好的方法来实现它。

Is there any other better way to implement the same.

推荐答案

您好,

感谢您在此发帖。

由于您的问题与UWP问题有关。我将把案件移到这里。

Since your issue is related to UWP issue. I will move the case to here.

最好的问候,

Hart


这篇关于[UWP]如何在定期检查1分钟间隔后在UWP App中触发通知和磁贴更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆