Class: SystemVolumeData

  • SystemVolumeData provides information about the system's current volume settings.

  • It includes properties for the volume level (ranging from 0.0 to 1.0) and mute status (true/false).

Constructor

SystemVolumeData

new SystemVolumeData()

Properties

level

number

The system volume. The value will be between 0.0 and 1.0. For example, a value of 0.5 represents the volume set to half of its maximum.

muted

boolean

true when the system volume is muted.