以编程方式设置 Windows Phone 7 音量 [英] Windows Phone 7 Volume Settings programmatically

查看:37
本文介绍了以编程方式设置 Windows Phone 7 音量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法以编程方式更改 Windows Phone 7 的声音设置?启用或禁用约会和所有其他通知的声音?还可以更改全局音量,即:铃声.

Is there a way to programmatically change the sound settings of Windows Phone 7? Enable or disable sounds for Appointment and all other notifications? Also to change the global volume i.e.:Ring tone.

推荐答案

没有用于启用您提到的任务的 API.您可以使用 XNA API 来调整应用程序中声音的音量,但这是当前可用的控制范围.

There is no API to enable the tasks that you've mentioned. You can adjust the sound volume for the sounds within an application by using the XNA API's, but that is the extent of the control that is currently available.

这篇关于以编程方式设置 Windows Phone 7 音量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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