是否可以在更新 3 之前在 Windows Phone 8 上指定 Toast 通知声音 [英] Is it possible to specify Toast notification sound on Windows Phone 8 before Update 3

查看:24
本文介绍了是否可以在更新 3 之前在 Windows Phone 8 上指定 Toast 通知声音的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道在更新 3 中我们可以指定自定义声音.但是是否可以在更新 3 之前指定任何不同的声音,而不是默认的铃声?如果是这样,如何?

I understand that in Update 3 we can specify custom sounds. But is it possible to specify any different sounds before Update 3, other than the default chime? If so, how?

以下是我发送到手机的xml负载

The following is the xml payload I'm sending to the phone

<?xml version="1.0" encoding="Windows-1252"?>
<wp:Notification xmlns:wp="WPNotification">
  <wp:Toast>
    <wp:Text1>WEATHER ALERT</wp:Text1>
    <wp:Text2>asdfasdf</wp:Text2>
    <wp:Param>/Page2.xaml?NavigatedFrom=Toast Notification</wp:Param>
  </wp:Toast>
  <wp:audio src="ms-winsoundevent:Notification.IM" loop="true" />
</wp:Notification>

但不管我在行中指定什么声音

but regardless of what sound I specify in the line

<wp:audio src="ms-winsoundevent:Notification.IM" loop="true" />

<wp:audio src="ms-winsoundevent:Notification.Looping.Alarm7" loop="true" />

它总是播放相同的声音.

it always plays the same sound.

我做错了什么还是根本不可能?

Am I doing something wrong or is it just not possible?

推荐答案

不可能.此功能是随 GDR 3 引入的.参考:

Not possible. This feature was introduced with GDR 3. Reference:

Windows Phone 8 Update 3(操作系统版本号 8.0.10492)引入了为 Toast 通知提供自定义声音的功能.http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj662938%28v=vs.105%29.aspx#BKMK_gdr3

Windows Phone 8 Update 3 (OS version number 8.0.10492) introduces the ability to provide a custom sound for toast notifications. http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj662938%28v=vs.105%29.aspx#BKMK_gdr3

这篇关于是否可以在更新 3 之前在 Windows Phone 8 上指定 Toast 通知声音的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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