Skip to content
matoude1234567 edited this page Dec 2, 2016 · 2 revisions

接口定义

播放器静音

setPlayerMute(int mute) 设置播放器是否禁音

if(ksyMediaPlayer!=null){
    if(mmute == false){
        ksyMediaPlayer.setPlayerMute(1);
        mmute = true;
    }else{
        ksyMediaPlayer.setPlayerMute(0);
        mmute = false;
    }
}
Clone this wiki locally