chrome.cast. Volume
The volume of a device or media stream.
Constructor
Volume
new Volume(level, muted)
Parameter |
|
---|---|
level |
Optional number The volume level. Value may be null. |
muted |
Optional boolean The mute status. Value may be null. |
Properties
controlType
non-null chrome.cast.VolumeControlType
The type of volume control that is available.
level
nullable number
The current volume level as a value between 0.0 and 1.0. 1.0 is the maximum volume possible on the receiver or stream.
muted
nullable boolean
Whether the receiver is muted, independent of the volume level.
stepInterval
number
The allowed steps for changing volume.