exposing volume control

This commit is contained in:
Kevin Griffin
2011-08-09 23:18:01 -04:00
parent 8c7db9aa32
commit ad8086fab5
3 changed files with 48 additions and 13 deletions
+7
View File
@@ -155,6 +155,13 @@ Media.prototype.release = function() {
PhoneGap.exec(null, null, "Media", "release", [this.id]);
};
/**
* Adjust the volume.
*/
Media.prototype.setVolume = function(volume) {
PhoneGap.exec(null, null, "Media", "setVolume", [this.id, volume]);
};
/**
* List of media objects.
* PRIVATE