开发者

How to turn off the sound of App?

I want to turn off the sound of a App , because I have a setting of sound , when I switch the sound to off , I want the App not play sound, My app is that:when I load a view and clic开发者_如何学Gok someplace of it and should play some sound , and now I want to turn off the App sound when users turn off the switch of setting . because I didn't know how the audio play , and it is done by other way , and I want to know how to turn off the App audio by sdk code, How to do, thank you !


if (settingToPlaySound) {
 // play your sound here.
}
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜