in UWP or Windows phone 8/8.1/silverlight i want to play sound through speaker only speaker event earphone connected or switch audio to loudspeaker on button click or in both any thing may possible? please suggest me a solution
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):