VolumeManager API
The VolumeManager interface provides methods to control the device's audio volume. It allows applications to request volume adjustments and display the volume UI.
volumeManager
https://developer.kaiostech.com/docs/api/web-apis/volumemanager/volumemanager/
Sends an event to the system application to decrease the current audio volume.
// Decrease volume by one stepnavigator.volumeManager.requestDown(); Copy
// Decrease volume by one stepnavigator.volumeManager.requestDown();
Sends an event to the system application to show the current audio volume UI. This displays the volume level indicator to the user.
// Display the volume UI showing current levelnavigator.volumeManager.requestShow(); Copy
// Display the volume UI showing current levelnavigator.volumeManager.requestShow();
Sends an event to the system application to increase the current audio volume.
// Increase volume by one stepnavigator.volumeManager.requestUp(); Copy
// Increase volume by one stepnavigator.volumeManager.requestUp();
VolumeManager API
The VolumeManager interface provides methods to control the device's audio volume. It allows applications to request volume adjustments and display the volume UI.
Navigator Property
volumeManager
See
https://developer.kaiostech.com/docs/api/web-apis/volumemanager/volumemanager/