 in use and may be currently closed.</li>
</ul>




    <h3>Returns:</h3>
    <ol>

        the device state as a string
    </ol>




</dd>
    <dt>
    <a name = "pulse.Device:get_volume"></a>
    <strong>pulse.Device:get_volume ()</strong>
    </dt>
    <dd>
    Get the volume of the device.
 You could also use the <code>Device.Volume</code> field, but it's not guaranteed
 to be in sync with the actual changes.



    <h3>Returns:</h3>
    <ol>

        the volume of the device as an array of numbers
 (o