如何获取预定提醒的贪睡时间?
最近我在提醒方面遇到了一些麻烦。我想知道贪睡功能是如何工作的?当在提醒上按下暂停按钮时,是否会创建新的提醒或稍后安排相同的提醒?
我问的原因是我想更新我的应用程序中显示提醒时间的文本块。我的第一个想法是查找已暂停的提醒并检查返回的 ScheduledAction 的 BeginTime 属性。但自首次创建提醒以来,此属性未曾更改。
那么,简单地说,我如何获得 ScheduledAction 的预定时间(包括一个或多个可能的小睡)?
谢谢!
I have been having some trouble with reminders as of lately. I was wondering how the snooze feature works? When snooze is pressed on a reminder, is a new reminder created or is the same reminder scheduled for later?
The reason i ask is that i want to update a textblock in my app that shows the time of the reminder. My first thought was to look upp the reminder that has been snoozed and check the BeginTime property of the returned ScheduledAction. But this property had not been changed since the reminder was first created.
So, simply put, how do i get the scheduled time for a ScheduledAction including one or more possible snoozes ?
thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您无法获取此信息。
您所能做的就是触发通知,然后由用户根据他们认为合适的方式响应通知。
这并不意味着您不能在应用程序中包含额外的提醒信息(如果适用)。
You can't get this information.
All you can do is trigger the notification and then it's up to the user to respond to the notification as they feel is appropriate.
That doesn't mean you can't include additional reminder information within your app, if appropriate.