有没有办法检查错过/未读的通知?
mango sdk 中是否有一个 api 允许我以编程方式轮询通知/toast 以至少获取计数。我想编写后台服务检查以查找丢失的消息。
Is there an api in mango sdk that allows me to programatically poll the notifications/toast to at least get the count. I'd like to write background service check for missed messages.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在 Windows Phone 中不可能获得这样的电子邮件/短信详细信息。与电子邮件客户端交互的唯一方法是通过 SDK 启动器和选择器:请参阅 MSDN 上的此链接。
您所能做的就是调用
EmailComposeTask
或SmsComposeTask
编写纯文本电子邮件或短信,或调用EmailAddressChooserTask
从地址簿。另请记住,启动器和选择器必须由用户操作启动,并且不能从任何后台代理代码启动。
It's not possible to get hold of the email/SMS messaging details like this in Windows Phone. The only way to interact with the email client is via the SDK Launchers and Choosers: see this link on MSDN.
About all you can do is call the
EmailComposeTask
orSmsComposeTask
for writing a plain text email or SMS, orEmailAddressChooserTask
for getting an email address from the address book.Also bear in mind that launchers and choosers must be initiated by a user action and cannot be launched from any background agent code.