Version: Smart Feature Phone 2.5

VolumeManager

Description#

The VolumeManager interface provides ways to change/show the audio volumes of the system.

Properties#

Methods:#

  • VolumeManager.requestUp()
    Send an event to system application for increasing current audio volume.

  • VolumeManager.requestDown()
    Send an event to system application for decreasing current audio volume.

  • VolumeManager.requestShow()
    Send an event to system application for showing current audio volume.

Example#

var volume = navigator.volumeManager;
// request system application to increase audio volume
volume.requestUp();
// request system application to decrease audio volume
volume.requestDown();
// request system application to show the volume status
volume.requestShow();