Using the Mobile Media API, how do you control the volume of what is played?

John Zukowski

You need to get the VolumeControl object from the Player and change the volume through that:

vc = (VolumeControl) player.getControl("VolumeControl");
if(vc != null) {
  vc.setVolume(50);
}
0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact