getVolume

 

Retrieves the global wimpy button volume setting.

Some mobile devices do not honor adjusting volume programatically. See "Known issues with volume and mute."

var volume = wimpyButton.getVolume()

 

Parameters

none

 

Return Value

number

A number between 0.0 and 1.0, where 0 is essentially muted and 1 is 100% full volume.

 

See Also

 

Examples

<script>
var volume = wimpyButton.getVolume();
console.log("volume:", volume); </script>