开发者

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

开发者 https://www.devze.com 2023-03-25 06:02 出处:网络
I know you can\'t change it, but I\'d like 开发者_如何转开发to instrument the system volume setting inside my app.

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

精彩评论

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