The plugin exposes one method
window.plugin.volume.getVolume(callback)
. This methods retrives the
current volume and passes it to the callback. Example:
window.plugin.volume.getVolume(function(volume) {
alert("The current volume is " + volume);
});
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request