开发者

Is there a way to read current system volume setting on Windows Phone?

I know you can't change it, but I'd like 开发者_如何转开发to instrument the system volume setting inside my app.

Thanks!


Currently there is no API for getting or setting the system volume. You can set the volume of your own MediaElements, however, this is combined with the system volume to determine the overall playback volume.

See also:

Windows Phone 7 Volume Settings programmatically


Did you try the MediaElement.Volume property?

http://msdn.microsoft.com/en-us/library/system.windows.controls.mediaelement.volume(v=vs.95).aspx

I don't know the exact way to use it, but it seem like there is a possibility with this class.

Sorry if it doesn't help you.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜