我尝试发送推送通知,我在服务器端。 在 WNS 中,Windows 8 的推送服务有没有办法发送额外的参数,这些参数不会显示。 在 Windows Phone 7 上,我使用 wp:Param 如下:
<?xml version="1.0" encoding="utf-8"?>
<wp:Notification xmlns:wp="WPNotification">
<wp:Toast>
.....
<wp:Param></wp:Param>
</wp:Toast>
</wp:Notification>
举个例子,toast有没有等价物?
最佳答案
对于 toast 通知,使用 toast notification XML 中的 launch
属性:
<toast launch="additionalContextParameters">
...
</toast>
launch
属性中指定的值可以从传递到 OnLaunched
处理程序的 Arguments
属性中检索(更多细节参见 MSDN ).
关于windows-8 - Windows Notification Server 上的附加参数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16912077/