开发者

How to select or play a system sound in windows phone 7(.1)?

开发者 https://www.devze.com 2023-03-18 21:03 出处:网络
I want the user of my app to be able to select a sound from the windows phone 7 system sounds, or play a specific one (like playing the \"new email\"-sound).

I want the user of my app to be able to select a sound from the windows phone 7 system sounds, or play a specific one (like playing the "new email"-sound).

How can I enumerate the installed sounds? Or is there a builtin sound-selector? Can I ask the system which sounds a开发者_运维技巧re played for what events?


Access to system sounds is not available. This include playing the sounds or seeing what files/sounds are associated with what events.

The exception is saving new files to use as ringtones which can now (as of 7.1) be done with the SaveRingtoneTask.

0

精彩评论

暂无评论...
验证码 换一张
取 消