【发布时间】:2016-04-25 14:33:22
【问题描述】:
我可以使用此代码阅读新短信
Windows.ApplicationModel.Chat.ChatMessageStore store = await Windows.ApplicationModel.Chat.ChatMessageManager.RequestStoreAsync();
var msgList = store.GetMessageReader();
IReadOnlyList<Windows.ApplicationModel.Chat.ChatMessage> a = await msgList.ReadBatchAsync();
foreach (var item in a)
{
if (item.IsSeen)
{
Don't do anything.. SMS is Readed
}
else
{
item.IsSeen=True (This not work because don't save this status) }
我尝试使用 Mark IsSeen,但它不起作用......有什么想法吗?
【问题讨论】:
-
我找到了这个说明:markasreadasync 和 markasseenasync 但我不知道如何使用...
标签: windows-phone-8.1 sms win-universal-app